(13)Permission denied: .htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

So you got this error:

[Wed Jun 15 19:05:40 2011] [crit] [client 72.252.205.36] (13)Permission denied: /var/www/xxxxx/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

And you don't even have an .htaccess file in that location to begin with, why?

Solution

The directory containing your website needs to have execute permissions for user,group and others. chmod 755 on the directory.

Comments

Anonymous's picture

same problem; issuing 755 on the directory did not solve it.

xyoni's picture

Hey Anon, you could also verify that the user and group that owns your directory are the correct ones for your server.

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account associated with the e-mail address you provide, it will be used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>, <c>, <cpp>, <csharp>, <drupal5>, <drupal6>, <java>, <javascript>, <php>, <python>, <ruby>. The supported tag styles are: <foo>, [foo].
  • Twitter-style @usersnames are linked to their Twitter account pages.

More information about formatting options