icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Private Hosting » Getting Rid of Indexing

Private Hosting Questions about VPS, dedicated servers and colocation.

Reply
 
LinkBack Thread Tools Search this Thread
Old July 27th, 2004, 3:21 AM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in May 2004
41 posts
Gave thanks: 0
Thanked 0 times
Getting Rid of Indexing

Hey, I can't figure out how to stop my server from defaulting to Indexing each folder. Is there a default option somewhere or do I need to do it by hand on every folder?
__________________
Server: Dedicated WA1

Site: ______Scandals.com
SchoolScandals is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2004, 10:03 AM   #2 (permalink)
SurPerson
On a golden path...
 
TJ09's Avatar
 
Joined in Jul 2004
Lives in front of my laptop
Hosted on Sync
437 posts
Gave thanks: 0
Thanked 1 Time in 1 Post
Make a .htaccess file in your root folder

Put in it: Options -Indexes

Should work, it's what I do.
__________________
Me: TeeJay
Server: Sync (Statistics)
Site: technoized.com (Statistics)

chown -R us ./base
TJ09 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2004, 10:15 AM   #3 (permalink)
sam
Surpass Fan
Super #1
 
sam's Avatar
 
Joined in Dec 2003
Lives in NJ
5,057 posts
Gave thanks: 0
Thanked 4 times
Cpanel > Index Manager >

Just select what directories you don't want indexing on.
sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2004, 3:44 PM   #4 (permalink)
Senior Member
Excelling Contributor
 
Joined in Jun 2004
748 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by sam
Cpanel > Index Manager >

Just select what directories you don't want indexing on.
Thank you Sam! I have been wondering the same thing myself and I just knew there had to be an easier way!!
imsleepy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2004, 4:12 PM   #5 (permalink)
Registered User
Seasoned Poster
 
Shawn's Avatar
 
Joined in Feb 2004
34 posts
Gave thanks: 0
Thanked 0 times
What do you mean by indexing? If you mean people having direct access the files/folders in that directory (and you don't want them to), then all you have to do is create a blank index.html and drop it into the folders you do not want to have people having direct access too. It's real simple, just create a new .txt file and rename it to index.html.

If this is not what you mean, then please disregard.
__________________
Server : Serenity
LinkedFamilies.com
Shawn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2004, 4:20 PM   #6 (permalink)
Senior Member
Excelling Contributor
 
Joined in Jun 2004
748 posts
Gave thanks: 0
Thanked 0 times
Hi Shawn,

That is EXACTLY what was meant.

The problem is when you have many websites and hundreds of directories, it can become a real pain to add an index.html file to every single one of them and it is so easy to overlook one.

Sam's solution was just an easy way around it.

Thanks for your suggestion.
imsleepy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 27th, 2004, 4:59 PM   #7 (permalink)
Registered User
Seasoned Poster
 
Joined in May 2004
41 posts
Gave thanks: 0
Thanked 0 times
Sams way works but I still have to do it by hand for each directory. I'm way to afraid to do anything in .htaccess
__________________
Server: Dedicated WA1

Site: ______Scandals.com
SchoolScandals is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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