Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Disable FTP Folder View


Guest

Recommended Posts

Posted

Right now, if someone tires to view say... www.website.com/catalog/images on my website, it will give them an FTP view of all the folders and files in that folder. How can I make it say "Access is denied" or however it does on many other websites?

Posted

add a blank image.html file in your image folder like this for the code and upload it into your image folder.

 

<html>

<head>

<title></title>

<meta content="">

<style></style>

</head>

<body></body>

</html>

Posted

You could put a redirect command in there too.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Posted

So basically I need to do that for every folder I don't want people to be able to access?

Posted

Most folders are blocked with .htaccess.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Archived

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

×
×
  • Create New...