View Full Version : index question
05-03-2004, 09:14 PM
hi, i just want to know how can i avoid that other users see my server index.
for example lets say i have installed easyphp 1.7 in my pc.and my web site is http://gabito.no-ip.com/mywebpage/main.php, if a user types http://gabito.no-ip.com/mywebpage the user can see all my files in the index. how can i avoid this? thanks
05-03-2004, 09:42 PM
depending on which web server you are using
in iis in internet servise manager change propertys of folder and dont allow indexing or directory browsing
in apache you can either edit the http config or use htaccess
heres a couple of links to help
05-03-2004, 09:44 PM
or... you could just put in an index.html page (which servers automatically load) with a redirect to your main page then the extra main.php would not have to be typed in and it would hide the folder directory.
05-03-2004, 11:48 PM
Or slap a password on an index page and just write a cookie so you don't have to enter it all the time, it's easy to list your contents!
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.