You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2008/02/06 23:41:57 UTC

[Httpd Wiki] Trivial Update of "PcfgOpenfile" by noodl

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The following page has been changed by noodl:
http://wiki.apache.org/httpd/PcfgOpenfile

The comment on the change is:
Ok, Joshua? pfcg_openfile is usually associated with mod_userdir on #apache..

------------------------------------------------------------------------------
  
   1. Just ask {{{httpd}}} to stop looking for {{{.htaccess}}} files by setting {{{AllowOverride off}}} in {{{httpd.conf}}} for the relevant directories.
  
-  2. Fix the file-system permissions on the directory. {{{chmod 755}}} is usually sufficient, and you can set stricter permissions if {{{httpd}}} is configured to run under the user or group that owns the directory.
+  2. Fix the file-system permissions on the directory path (often {{{/home/user}}}). {{{chmod 755}}} is usually sufficient, and you can set stricter permissions if {{{httpd}}} is configured to run under the user or group that owns the directory.
  
  In some cases, this error can also be caused by special file-systems that return unexpected errors on attempted directory access. For example, some file-systems allow files to be treated as directories in certain cases. If {{{httpd}}} believes that a file is actually a directory, it will try to look inside for an {{{.htaccess}}} file. If it gets a permission denied error in return, it will deny access. This type of situation is usually a faulty file-system behavior and cannot be fixed within Apache. In this case your only choice is to turn off {{{.htaccess}}} processing as in the first solution above.