| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Subscribe to WebmasterWorld|
|Apache2 and .htaccess problem|
Causing 500 error
| 9:17 am on Oct 5, 2007 (gmt 0)|
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?
| 12:43 pm on Oct 5, 2007 (gmt 0)|
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.
© Webmaster World 1996-2014 all rights reserved