File Name: .htaccess – put this on root directory of htdocs folder.
#order deny,allow
#deny from all
#allow from 127.0.0.1
#Options +Indexes # enables Directory listing
#Options –Indexes # disables directory listing
#just create an empty directory list
IndexIgnore *
#to skip all gif, zip and txt files from the directory list
#IndexIgnore *.gif *.zip *.txt
#ErrorDocument 404 /notfound.html
ErrorDocument 404 http://localhost/Nilesh/notfound.html
Thanks, Nilesh
Advertisement



Recent comments