Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & phranque

Message Too Old, No Replies

Apache2 and .htaccess problem

Causing 500 error

9:17 am on Oct 5, 2007 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:June 12, 2004
posts: 789
votes: 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)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 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
Override: Limit
Status: Base
Module: mod_access

Also, review your server error log -- It will often tell you the exact problem.