Welcome to WebmasterWorld Guest from 54.145.136.73

Forum Moderators: Ocean10000 & incrediBILL & phranque

Apache2 and .htaccess problem

Causing 500 error

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

WebmasterWorld Senior Member 10+ Year Member



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)

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



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.

Jim

 

Featured Threads

Hot Threads This Week

Hot Threads This Month