.htaccess pcfg_openfile: unable to check htaccess file....

foodini

Joined: 2005-03-21
Posts: 8
Posted: Mon, 2005-03-21 21:26

In a search through the archives, I see about a dozen people with my same problem and not a single one of them received an answer:

I'm getting 403 - Forbidden errors trying to get at the setup/index.php. Looking at my error log:

#tail -1 error_log
[Mon Mar 21 12:45:06 2005] [crit] [client 192.18.42.10] (13)Permission denied: /www/urldeletedforprivacy/docs/gallery/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

/www/urldeleted.../docs is actually a soft link to the public_html directory in my home dir. Is this maybe causing the trouble? If no, what IS the trouble?

----
Gallery URL (optional but very useful): Nothing to see there until this works....
Gallery version: 1.5-RC2
Apache version: 2.0.51
PHP version (don't just say PHP 4, please): Not sure. How do I find out?
Graphics Toolkit: I have ImageMagick
Operating system: Linux.
Web browser/version (if applicable): lynx and mozilla

 
Jordan_01002

Joined: 2005-02-14
Posts: 1535
Posted: Mon, 2005-03-21 22:57

Is the file & directory readable by the web daemon? .htaccess should be chmod'ed to 777, and the directory it's in will need to be readable by the user the httpd runs as.

 
foodini

Joined: 2005-03-21
Posts: 8
Posted: Tue, 2005-03-22 23:01

Yes. Everything is 777. Directories and files.

I've even tried explicitly setting the access control list for the apache user and it's no dice there, too.

 
fryfrog

Joined: 2002-10-30
Posts: 3236
Posted: Wed, 2005-03-23 00:34

See duplicate post here instead.