You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2005/07/07 19:46:43 UTC

DO NOT REPLY [Bug 35652] New: - Improve error message: "pcfg_openfile: unable to check htaccess file, ensure it is readable"

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35652>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35652

           Summary: Improve error message: "pcfg_openfile: unable to check
                    htaccess file, ensure it is readable"
           Product: Apache httpd-2.0
           Version: 2.0.54
          Platform: All
        OS/Version: other
            Status: NEW
          Keywords: ErrorMessage
          Severity: minor
          Priority: P2
         Component: Runtime Config
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: apinstein@mac.com


During a recent install of awstats there was a config problem which manifested itself via this error 
message:

Permission denied: /opt/showcase/awstats/.htaccess pcfg_openfile: unable to check htaccess file, 
ensure it is readable

The error message is a little misleading, as it implies that .htaccess exists and is not readable. There is 
no .htaccess file in that location. However, /opt/showcase/awstats was chmod 700 and thus httpd 
couldn't CHECK to see if the .htaccess file was there.

The error message would be more helpful if it said:

Permission denied: <path> pcfg_openfile: unable to check for existence of htaccess file or read it if it 
does exist; make sure <path> is readable by httpd.

Something along those lines. Since the message implied that .htaccess existed, it really threw me for a 
loop trying to figure out the problem.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org