Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have VirtualHost with DocumentRoot "/home/blogs/"

 DocumentRoot "/home/blogs/"
 <Directory "/home/blogs/">
  AllowOverride All
  Allow from All

I'm getting error [Thu Apr 19 02:37:15 2012] [crit] [client] (13)Permission denied: /home/blogs/.htaccess pcfg_openfile: unable to check htaccess file

I have the following rights...

/home/blogs/ drwx------ (0700)

/home/blogs/ drwxrwxr-x (0775)

Do I have to add blogs user to apache group? How can I do it?

PS: Why apache is looking for .htaccess file at /home/blogs/, but DocumentRoot is /home/blogs/

Thank you.

share|improve this question
up vote 5 down vote accepted

Given the permissions of /home/blogs/, only the owner of the directory can see the contents. you may want to grant 750 or 755 permissions, so apache could read the contents.

The reason its looking for a /home/blogs/.htaccess file is a configuration option you haven't shown from your configs. It is probably a <Directory /> AllowOverride ...</Directory>.

share|improve this answer

Your Answer


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.