These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for .htaccess issue - url rewrite incorrect on the new forum.
Hi,
I have a new vm install of a virtual domain at bvairpi.ca. url resolves ok. Then I used VM to install wikipedia and found that bvairpi.ca/wiki turns into http://bvairpi.ca/wiki/wiki/index.php?title=Main_Page which correctly doesn't resolve. If I manually edit that incorrect url in the browser address to have only one "wiki/" I get where I want to be. I tried a replacement .htaccess like this:
RewriteEngine On RewriteCond %{QUERY_STRING} ^(css=.*)$ [NC] RewriteRule ^(.*)$ /index.php?/%1 [L] RewriteRule ^no_rewrite/wiki - [L] # update the following with your ee system dir and other files to exclude RewriteCond $1 !^(images|cms|css|gfx|files|themes|favicon\.ico|robots\.txt|index.php) [NC] RewriteRule ^(.*) /index.php?/$1 [L]
but that doesn't work. Suggestions? Places to look?
Dave
Howdy,
Hmm, what PHP Execution Mode is this particular domain configured to use?
Also, what is the output of "php -v"?
-Eric
But I don't know where to find Execution Mode info
Dave
oops! is this what you want?