Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Apache and mod_rewrite on Windows - .htaccess and 403 errors
I’ve struggled with mod_rewrite for Apache on windows for a while, it prevented me from running clean URLs in textpattern because I would instead get a 403 access denied error. After much searching on these forums I found some suggestions, but nothing conclusive. I eventually solved the problem and decided to specify some tips for others experiencing these problems.
in your Apache httpd.conf file you just need to verify the following:
make sure the following line is not commented out (no “#” at the beginning of the line)
LoadModule rewrite_module modules/mod_rewrite.so
same with:
AddModule mod_rewrite.c
make sure that your Directory listing for location you are using textpattern has AllowOverride All, and FollowSymLinks specified. For example:
Alias /textpattern“Z:/docroot/textpattern”
< Directory Z:/docroot/textpattern >
Options FollowSymLinks
AllowOverride All
</Directory>
Last edited by philipashlock (2006-01-12 02:52:05)
Offline