Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

pcfg_openfile: unable to check htaccess file, ensure it is readable


geoffreywalton

Recommended Posts

Posted

Just had this problem on a GoDaddy server, got these entries in the error log.

 

 

Permission denied: /var/chroot/home/content/52/xxxxxxxx/html/images/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

 

They do not have a .htaccess file in the images folder.

 

Site does not have front page extensions as suggested in some posts so unable to reinstall FPE.

 

So I added in a .htaccess containing

 

# This is used to restrict access to this folder to anything other

# than images

# Prevents any script files from being accessed from the images folder

<FilesMatch "\.(php([0-9]|s)?|s?p?html|cgi|pl|exe)$">

Order Deny,Allow

Deny from all

</FilesMatch>

and a blank line.

 

Still the same!!

 

Finally found the permissions an the directory had been changed to 700.

 

GD have been having problems with the server so now to investigate if it is a hack or someting GD had done.

 

Hope this helps someone.

 

Cheers

 

G

Need help installing add ons/contributions, cleaning a hacked site or a bespoke development, check my profile

 

Virus Threat Scanner

My Contributions

Basic install answers.

Click here for Contributions / Add Ons.

UK your site.

Site Move.

Basic design info.

 

For links mentioned in old answers that are no longer here follow this link Useful Threads.

 

If this post was useful, click the Like This button over there ======>>>>>.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...