My paths are incorrect after modifying httpd.conf to allow for mod rewrite and multiviews on my local network server. I haven't modified any paths, yet it's treating my rewrite base as the local-network-root rather than the site-root-directory where the .htaccess rewrite rule is in use.

  • local network root
    1. site1 root-directory<----htaccess in here, tries to rewrite to it's parent directory after httpd.conf modification.
    2. site2 root-directory
    3. site3 root-directory

now, I can hack a fix by supplying the "site1 root-directory name" to the rewrite rule in the .htaccess, but this presents a problem because I have to remove this before uploading to my online version, that difference is going to produce a serious nightmare for thousands of relative links.


there are (3) instances of "AllowOverride None" in httpd.conf, I changed each as follows:


1st: AllowOverride AuthConfig FileInfo Indexes Limit Options=All,MultiViews

2nd: AllowOverride AuthConfig FileInfo Indexes Limit Options=All,MultiViews

3rd: AllowOverride AuthConfig FileInfo Indexes Limit Options MultiViews


and here's the .htaccess for rewriting:

Code:
Options +Indexes
RewriteEngine on
RewriteBase /
RewriteRule ^topic/(.*)/$ search.php?topic=$1 [L]
any ideas?