How can I stop the web visitors ,if they are trying to display the folder content ,using URL
stop listing of directory using url
Collapse
X
-
Here I know how to add index.html file.
but I don't know how to use .htaccess file . if you don't mind can you explain how to use it.Comment
-
For Linux if the .htaccess doesnt work'
then just put that code in httpd.conf file normally found @ /wwwroot/conf the Apache Installation directory
Or edit the directory tags folln' code worked for me applies to all directories
Code:<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory>
Better read apache manual for more infoComment
Comment