.htaccess issue - url rewrite incorrect

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

-sh-3.2$ php -v
PHP 5.3.3 (cli) (built: Dec 10 2013 22:12:52) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies

But I don’t know where to find Execution Mode info

Dave

PHP script execution mode 	
Apache mod_php (run as Apache's user)
CGI wrapper (run as virtual server owner)
 this one is ticked --->       FCGId (run as virtual server owner)

oops! is this what you want?