Hello coppermine staff I have a small idea i want to share with you that has helped me out a bit and that i think will be a bit useful
Preventing access to folders like album folders so that people can't steal pictures like that
I just write an index.html that has a redirect in it like so :
<html>
<head>
<Title>No access to directory!</title>
<meta
http-equiv="refresh" content="2; url=http://www.add-fun.com">
</head>
<body>
<h1>REDIRECTING</h1>
<h1>You do not have access here<h1><br>
</body>
</html>
Well it's simple and useful....
Thanks for your readiness to share your insight. However, even better (and recommended) is to turn off indexes in the first place. If you're on an apache webserver you can do so using a .htaccess file - details can be found all over the net, e.g. http://www.aota.net/htaccess/index.php4
The lineOptions -Indexes
in your .htaccess file will do the trick.
oh yes that is very true but true also is that some web hosts like 110mb charge 10$ one time payment for db access and another 5 for htaces usage :D:D
for poor sorry mofos like me this is a good solution
If they charge you for being allowed to customize the .htaccess page, then indexes should be turned off by default on their servers. Request them to do this for you if you're not ready to spend the additional 5 bucks. If they refuse I suggest finding another webhost. Indexes off should be default on decent webhosting for security reasons. You're welcome to refer to this thread when filing your request at 110mb.
mhm ok
then that should all be very ok even for such a host