homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

Apache2 and .htaccess problem
Causing 500 error

WebmasterWorld Senior Member 10+ Year Member

Msg#: 3469773 posted 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?



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

Msg#: 3469773 posted 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
Override: Limit
Status: Base
Module: mod_access

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


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved