Portal Home > Knowledgebase > Articles Database > htaccess error
htaccess error
Posted by Calibaba, 04-16-2008, 10:04 AM |
Apache error log for a subdomain
[Thu Apr 17 00:02:24 2008] [crit] [client 69.113.17.156] (13)Permission denied: /home/user/public_html/subdir/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
However, there is no htaccess file in that directory anyway
/home/user/public_html/subdir
Server is Centos 5 / Cpanel
|
Posted by Calibaba, 04-16-2008, 10:09 AM |
The root directory (not subdomain) shows an htaccess file with proper permissions
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
order deny,allow
deny from all
allow from all
order deny,allow
deny from all
AuthName www.domain.com
AuthUserFile /home/user/public_html/_vti_pvt/service.pwd
AuthGroupFile /home/user/public_html/_vti_pvt/service.grp
php_flag output_buffering 1
php_flag register_globals 1
|
Posted by Tim G, 04-16-2008, 10:09 AM |
Hi,
I had live a similar problem a little while ago but i can't remember exact solution.
You can try fix permissions for public_html and subdir. If doesn't work, delete and re-create subdir. If still doesn't work then do it same for public_html.
As i said i can't exacly what i did but i think i did re-create public_html or re-create account and moved all necessary files.
|
Posted by Calibaba, 04-16-2008, 10:13 AM |
|
Posted by ServerSurgeon George, 04-16-2008, 10:16 AM |
try: chmod 755 /path/to/subdomain
|
Posted by david510, 04-16-2008, 10:50 AM |
Make an empty .htaccess inside the sub-directory
|
Add to Favourites Print this Article
Also Read