On my site if a user goes to http://www.targacars.co.nz/rot11/rot11cat2.html and then deletes "rot11cat2.html" in the search bar then presses Enter he/she gets an index of /rot11 plus all the other files that are on the server. Is there a way of hiding the directories and making the user go to http://www.targacars.co.nz/rot11/indexrot11.html
.htacces file in this directory <FilesMatch "\.(php|cgi|pl|php3|php4|php5|php6|phps|phtml|shtml)$"> Order allow,deny Deny from all </FilesMatch>
Thanks for your reply. But at this stage your relpy is above my head. So I have a few more questions 1)When I did a google search it wanted ".htaccess" not ".htacces", is this jst a typo ? 2)EXACTY where do I place the code 3)Please explain what the code , I have made a quess but I would like to know for sure Thanks again