Originally posted by valen53
how to prevent user access file directory? such as when user only type URL : domainname/directory/
files in the directory will be display... how to prevent the files display ?
like use IIS , i can tick for not to browse the files.
thank u for helping.
I assume you are now using apache, correct? If that's the case, then you do this:
Assuming you're not running fancy virtual servers, you just find the settings for you default server in httpd.conf and add a container for the location that has an options none in it like this:
<location /dir_you_want_to_protect>
options none
</location>