| Welcome to WebmasterWorld Guest from 188.8.131.52 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Apache2 and .htaccess problem|
Causing 500 error
I've recently installed Apache2 and am running it off the distributed httpd.conf files (including some of the extras) but it's causing errors with some .htaccess files:
- Rewrites do not work
- Limits and auths cause 500 errors
Any ideas to where I can enable/disable bits and bobs in the httpd.conf or to find some good ones?
Take a look at "AllowOverride" and "Options" settings in httpd.conf, and check against the Apache documentation.
For example, you need AllowOverride Limit if you want to use mod_access. Note that many individual Apache directives specify what Overrides are needed if you want to use them:
|Allow directive |
Syntax: Allow from allŠhostŠenv=env-variable [hostŠenv=env-variable] ...
Context: directory, .htaccess
Also, review your server error log -- It will often tell you the exact problem.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved