jeboy Posted June 8, 2007 Share Posted June 8, 2007 I have a directory that has no index page, so the tendency is, when someone tried to access the directory, the server will display all the contents of that directory. How can I restrict the directory from displaying its contents? or how can I restrict users from browsing the directory? Thanks. Quote Link to comment Share on other sites More sharing options...
unidox Posted June 8, 2007 Share Posted June 8, 2007 .htaccess Quote Link to comment Share on other sites More sharing options...
steviewdr Posted June 14, 2007 Share Posted June 14, 2007 and place the following inside the .htaccess file: Options -Indexes -steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.