Hi guys,
Currently in my webserver I got a directory call: ..../htdocs/upload/
Currently, all files are listed when users go to www.mysite.com/upload/
The way it works, when user click on a file link in my system, they redirected to this directory like this:
So If I have
It stops listing all files but in the process doesn't allow me to view files when I click on the link.
Is there a way I can tweak it so when users directly go to
www.mysite.com/upload/ they get 403 error BUT if they go they go to:
http://mysite.com/upload/invoice.txt
they don't get 403 error?
Thanks.
Currently in my webserver I got a directory call: ..../htdocs/upload/
Currently, all files are listed when users go to www.mysite.com/upload/
The way it works, when user click on a file link in my system, they redirected to this directory like this:
So If I have
Code:
deny from all
Is there a way I can tweak it so when users directly go to
www.mysite.com/upload/ they get 403 error BUT if they go they go to:
http://mysite.com/upload/invoice.txt
they don't get 403 error?
Thanks.
Comment