Nov 7, 2001 #1 unicorn11 Programmer Jun 10, 2000 392 IN How do i stop directory listing on my localhost ? Unicorn11 unicorn11@mailcity.com [red]Luck is not chance, it's toil; fortune's expensive smile is earned.[red]
How do i stop directory listing on my localhost ? Unicorn11 unicorn11@mailcity.com [red]Luck is not chance, it's toil; fortune's expensive smile is earned.[red]
Nov 8, 2001 #3 kg9ie Technical User Jun 3, 2000 18 US Are you speaking of not showing a directory listing in the browser when there is no index.html file? I think placing the following line in a file named .htaccess should work. Options -Indexes Upvote 0 Downvote
Are you speaking of not showing a directory listing in the browser when there is no index.html file? I think placing the following line in a file named .htaccess should work. Options -Indexes
Nov 8, 2001 #4 Wullie Programmer Mar 17, 2001 3,674 GB You can also use a path to your root directory in the directory index. Eg. index.shtml index.html index.htm index.php /error.html The /error.html will automatically return your users to your choice of a file in your root directory. Just make sure you have a file called error.html in you root. Wullie http://www.survivorhelp.co.uk Upvote 0 Downvote
You can also use a path to your root directory in the directory index. Eg. index.shtml index.html index.htm index.php /error.html The /error.html will automatically return your users to your choice of a file in your root directory. Just make sure you have a file called error.html in you root. Wullie http://www.survivorhelp.co.uk