All pastes #392768 Raw Edit

Untitled

public text v1 · immutable
·published 2007-03-13 01:53 UTC
rendered paste body
I've run into an issue transferring a  web site from a previous server to my current server. We are using mod_rewrite to accomodate our content management system.

The issue comes up when requesting the default home page. The following matrix illustrates the problem:

On the old server:
- http://69.94.4.55/ - gets caught and re-written by mod_rewrite, and loads the proper home page - GOOD
- http://69.94.4.55/index.html - gets caught and re-written by mod_rewrite, and loads the proper home page - GOOD

On PHOBOS:
- http://69.72.147.144/index.html - gets caught and re-written by mod_rewrite, and loads the proper home page - GOOD
- http://69.72.147.144/ - returns index.html in the root folder - BAD

The rewrite rules and all files and file structures are the same on both servers. I've tried writing a new rule to catch this but to no avail. It seems like the server bypasses or overrides the .htaccess file rules when it is seeking out the "default" page.

Is this a server configuration issue, since it works fine on the other server? Can we get it fixed?




here is the .htaccess file

RewriteEngine On
Options +FollowSymlinks
RewriteRule ^index.* web.php?page=2&xslsspick=1&xslfilter=0&xslfilter2=0&mode=web
RewriteRule ^sitemap.htm isearch/sitemap.php
RewriteRule ^respider myAdmin/login.php?forward=reindex
RewriteRule ^web/(.*)/(.*)/(.*)/(.*).htm web.php?page=$1&xslsspick=$2&xslfilter=$3&xslfilter2=$4&mode=web
RewriteRule preview/(.*)/(.*)/(.*)/(.*).htm web.php?page=$1&xslsspick=$2&xslfilter=$3&xslfilter2=$4&mode=preview
RewriteRule previewdebug/(.*)/(.*)/(.*)/(.*).htm web.php?page=$1&xslsspick=$2&xslfilter=$3&xslfilter2=$4&showXML=true&mode=preview
RewriteRule ^webdebug/(.*)/(.*)/(.*)/(.*).htm web.php?page=$1&xslsspick=$2&xslfilter=$3&xslfilter2=$4&showXML=true&mode=web

# -FrontPage-

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.irisfinancialsolutions.com
AuthUserFile /home/virtual/site16/fst/var/www/html/_vti_pvt/service.pwd
AuthGroupFile /home/virtual/site16/fst/var/www/html/_vti_pvt/service.grp


mod_rewrite is used here to create "search-engine-friendly" non-query-string links.