Time2Dine.co.nz is Online Restaurant Booking
 
Elusion Electronic Cigarette
 New Zealand Restaurants Forum
Restaurant Forum | Contact Time2Dine | Book Online & Save | About Time2Dine

Go Back   New Zealand Restaurants & Food Forum > Search Engine Optimisation > Google
Register

Reply
 
LinkBack Thread Tools
  #1  
Old 17th Nov 05, 11:05 AM
T2DMan's Avatar
Administrator
 
Join Date: Apr 2004
Location: Auckland, New Zealand
Posts: 7,839
T2DMan is on a distinguished road
Default htaccess index off

htaccess index off - how to turn the automatic directory listing off.

When you dont have an index file inside a directory, depending on your hosts setup, the server may show an automatic directory listing of all the files in that directory. This has security implications, as there may be files there that you don;t wish people to know about.

So you either have a blank index.html or index.php file in that directory, or add the following to your .htaccess file:

Code:
Options -Indexes
If you have other .htaccess files in inner directories, you will need to add this to each htaccess file.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
non www to www 301 redirects T2DMan Google 6 29th May 10 06:38 AM
Search Engine Optimize vBulletin 3.5 Discussion T2DMan SEO Discussion 54 12th Apr 07 10:08 AM
htaccess time zones T2DMan Google 0 17th Nov 05 11:13 AM



Powered by: vBulletin Copyright ©2000 -2012, Jelsoft Enterprises Limited.
Search Engine Friendly URLs by vBSEO 3.2.0
© 2010 Time2Dine