Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 15th, 2000, 11:21 AM
Stan Stan is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 1 Stan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Here are my questions:

I'm running Apache 1.3.14 under Win2k. The root is configured as c:mywebsite. There is c:mywebsiteinclude directory with a bunch of files I don't want to be seen from the web. When I go to localhost/include, Apache displays a directory listing.

How can I configure Apache not to display a directory listing and pretend that a directory does not exist, even if that directory has an index.html file in it? Ie. how do I completely hide a directory so that anyone trying to go there will get a 401 error?

Do I have to configure that for each individual directory under c:mywebsite, and if not then how can I set it to work by default for any directory under c:mywebsite so that if I need a directory exposed, I'd have to explicitly configure Apache to make it visible?

Thanks and sorry for the long post.

------------------
--
Stan

Reply With Quote
  #2  
Old October 17th, 2000, 11:15 AM
Anarchos Anarchos is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 28 Anarchos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I protect individual directories by putting a .htaccess in em with:
Options None
Deny from all

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > directory access


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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 not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway