Joseph Brower

irc: josephnexus

Apache Problems

I recently ran into quite an interesting problem.  I wasn’t able to get my web server to access my home directory (a subfolder of it) for showing on the web.  This was frustrating me to no end.  For some reason it was giving me an error about not being able to read the .htaccess file.  (The exact error was pcfg_openfile: unable to check htaccess file, ensure it is readable )  I check permissions left and right and then realized that maybe, just maybe, /home/joseph (my home directory) was too restrictive.  I did a chmod 755 /home/joseph and my problem has gone away.  The error was a little misleading, but eventually we did get it worked out and I’m happily developing again.

2 comments

2 Comments so far

  1. xeridea August 19th, 2009 9:40 am

    How is it the fault of apache that it cares about permissions? Sounds like the underlying OS just didn’t show you permissions well enough for you to fix it faster.

  2. Joseph Brower August 19th, 2009 9:46 am

    I didn’t say the error was apache’s fault. I said that it was the error reporting that was apache’s fault. The error was really ambiguous and not very descriptive of the actual problem. (It said it couldn’t find an .htaccess file, but I wasn’t telling it to look for one.)

Leave a reply

You must be logged in to post a comment.