Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Fri Oct 22, 2010 2:37 pm 
Offline
Senior Newbie

Joined: Sat Apr 03, 2010 3:37 pm
Posts: 13
So on my website if you go to www.example.com/directory/ it will spit out the directory structure rather than displaying a forbidden or gracefully forwarding to a different page.

Is this due to the file permissions on the directory? If so what chmod/permission settings should be used?

Thanks


Top
   
 Post subject:
PostPosted: Fri Oct 22, 2010 3:17 pm 
Offline
Senior Member

Joined: Tue Aug 12, 2008 8:41 am
Posts: 56
It's a feature of the web server, how to disable it depends on which web server you're using. Google "[your webserver] disable directory index".


Top
   
 Post subject:
PostPosted: Sat Oct 23, 2010 1:21 pm 
Offline
Senior Member

Joined: Sat Mar 28, 2009 4:23 pm
Posts: 415
Website: http://jedsmith.org/
Location: Out of his depth and job-hopping without a clue about network security fundamentals
If you're lazy and don't feel like mucking about with the Web server and only want to restrict a couple directories (like I do), you can always touch index.html and just serve up some white.

Probably better to turn it off in the Web server, though.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group