Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Need .htaccess file for images


ecgbyme

Recommended Posts

Posted

Could someone be kind enough to post the .htaccess file from 2.3.1 The one for the image directory. Everything I tried from searches makes all images not appear.

Posted

I have attached it as well. (if it worked)

 

 

 

# $Id$

#

# 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>

 

 

 

 

Chris

Posted

Thanks so much Chris! Images remain in tact and sitemonitor warning is gone. Had looked all over but couldn't find the right answer. Appreciate your help!

Archived

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

×
×
  • Create New...