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.
Old November 22nd, 2004, 7:22 PM   #1 (permalink)
Registered User
Seasoned Poster
 
Joined in Sep 2004
75 posts
Gave thanks: 0
Thanked 0 times
Talking Real quick question!!!

Hi everyone! How are you all doing today .

Well, you know when lets say we have this link: www.blah/websites/boo/index.html .

When someone visits:

www.blah/websites/ they are able to see the whole list of content I got in there. My question is how do I make it so it says "Forbiden" and they cant access the directories like that.

Thanks,
kakarotto
kakarotto is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:23 PM   #2 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Chicago
24,757 posts
Gave thanks: 946
Thanked 807 times
What I do is make a blank index.html file.

Just create a Notepad file. Save it. Then rename it to index.html. Upload into the directory.
__________________
Follow Surpass on Twitter and Facebook
And there's my own Twitter and LinkedIn



Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:24 PM   #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
2 ways

1) turn off Directoy index in cPanel
2) place an index.php / index.htm file in the directory so apache loads that when someone hits the directory
sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:25 PM   #4 (permalink)
Forum Moderator
Super #1
 
Ehaanaes's Avatar
 
Joined in Aug 2003
Lives in Norway
Hosted on Minerva
1,215 posts
Gave thanks: 0
Thanked 0 times
Or edit the .htaccess file. (Don't remember the exact lines right now. But a search would find it i guess)
__________________
Owner of Minerva and Server :: Beatiful P4's Surpass
http://www.case-spider.com
Winner of the Surpassies 2004 - Most Spirit. :bravo:
Google = Friend!
Ehaanaes is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:25 PM   #5 (permalink)
Rai
Senior Member
Super #1
 
Rai's Avatar
 
Joined in Nov 2003
Lives in Canada
Hosted on Pass14
3,770 posts
Gave thanks: 4
Thanked 20 times
now would that be blah.com or blah.net?

Couple of options...

Upload a blank index.html file. All they'll get is a white screen. You could even make it fancy and actually say Forbidden yourself...

Option two, if you go into Index Manager in cPanel, you can turn the indexing off or on for any folder in your hosting.

I personally tend to just upload an index file... But that's just how the structure of my site always works out.
__________________
Rai is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:25 PM   #6 (permalink)
Rai
Senior Member
Super #1
 
Rai's Avatar
 
Joined in Nov 2003
Lives in Canada
Hosted on Pass14
3,770 posts
Gave thanks: 4
Thanked 20 times
wow. alot of people around with not alot to do.
__________________
Rai is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:26 PM   #7 (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
the poll was boring.
sam is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:27 PM   #8 (permalink)
Marketing Maven
Surpass Staff
 
Kayla's Avatar
 
Joined in May 2003
Lives in Chicago
24,757 posts
Gave thanks: 946
Thanked 807 times
I checked my blood pressure and had to do something fast.
__________________
Follow Surpass on Twitter and Facebook
And there's my own Twitter and LinkedIn



Kayla is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22nd, 2004, 7:44 PM   #9 (permalink)
Registered User
Seasoned Poster
 
Joined in Sep 2004
75 posts
Gave thanks: 0
Thanked 0 times
Now this is what i call 24 hr support!

Thanks guys you rule
kakarotto 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
Rate This Thread
Rate This Thread:

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