.htaccess , Apache 2.2.4 on Windows Server (for testing)
Posted on 2009-07-09
I am having a little bit of a problem with my httpd.conf settings with Apache.
When I set AllowOverride All in the httpd.conf it seems mod_rewrite works fine, but it then seems to actually read the .php files contents rather than execute the code. It's pretty weird.
When I set AllowOverride to "AllowOverride AuthConfig" I get a 500 error :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
In my error_log I get the error:
[Thu Jul 09 00:23:04 2009] [alert] [client 127.0.0.1] C:/Apache2/htdocs/ediamondauction/wwwroot/.htaccess: RewriteEngine not allowed here .
Awkward how when i use AuthConfig it seems to not work properly. Do I have to setup some configuration rules in the .htaccess file itself in order for it rewrite url's properly?
Any help is greatly appreciated.