Can't get mod_rewrite (rewriting URLs) working on Windows? The solution is fairly simple. Make
sure you have the following in your httpd.conf. Replace "C:/www" with the directory under your
DocumentRoot where you placed .htaccess file. Once you've copied the lines below into Apache
configuration file restart web server and URL rewriting should work.
<Directory>
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory "C:/www">
Options Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
|