Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm running a fresh httpd install on Fedora linux and all my static content 403s.

The error_log shows this:

mod_rewrite: can't access DBM RewriteMap file

How do I fix this?

Thanks, Chris

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

It looks like you may be using an old config file or something has been uncommented in an example file that shouldn't have been.

Check through your apache configuration files looking for something like

RewriteMap examplemap dbm=sdbm:/etc/apache/mapfile.dbm  

If you find something similar either comment it out (put a # at the start of the line) or put a suitable file in the location it's looking.

share|improve this answer
    
That was it, thanks! –  Chris B Mar 15 '12 at 20:13
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.