Well, one thing you will most likely need to do with Wordpress is edit the \wp-includes\vars.php file to force $is_apache to be true in the Server detection section near the bottom:
PHP Code:
// Server detection
//$is_apache = ((strpos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== false) || (strpos($_SERVER['SERVER_SOFTWARE'], 'LiteSpeed') !== false)) ? true : false;
$is_apache = true;
$is_IIS = (strpos($_SERVER['SERVER_SOFTWARE'], 'Microsoft-IIS') !== false) ? true : false;
The reason is that $_SERVER['SERVER_SOFTWARE'] has a value of "WebServerX" most likely.
After doing that, then Wordpress will modify the .htaccess file how it sees fit. Here's the Wordpress portion of mine:
Code:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Hope it helps,
Mark H.