Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

  #1  
Old 01-13-2005, 04:38 PM
Aemon_ Aemon_ is offline
Platinium Techie
 
Join Date: Apr 2002
Location: Brandon, UK
Posts: 928
Send a message via AIM to Aemon_
Default Apache question...

yes, i'm still learning apache. one day i'll tackle mod_rewite, 'one day' being the key phrase there.

anyway. how do you stop directory browsing in apache? like if you have no index file in a directory, and you type that directory for the url, and it shows the contents of that directory. how does one stop this?

thanks!

later
__________________

Reply With Quote
  #2  
Old 02-02-2005, 01:51 PM
Aemon_ Aemon_ is offline
Platinium Techie
 
Join Date: Apr 2002
Location: Brandon, UK
Posts: 928
Send a message via AIM to Aemon_
Default

no worries, i found an answer elsewhere.

later
__________________

Reply With Quote
  #3  
Old 02-02-2005, 11:01 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default

next time you find the answer, please post it incase anyone else needs to know

I've actually known this answer since for a while now. You go into your site's root .htaccess file and add

Options -Indexes
__________________
PHP...It kicks ASP
Reply With Quote
  #4  
Old 02-03-2005, 09:02 AM
Aemon_ Aemon_ is offline
Platinium Techie
 
Join Date: Apr 2002
Location: Brandon, UK
Posts: 928
Send a message via AIM to Aemon_
Default

well thanks for posting the answer when i asked back on Jan13th

but i added -Indexes to the entire server, not just for one site.

thanks though!

later
__________________

Reply With Quote
  #5  
Old 02-03-2005, 01:09 PM
Uranium-235's Avatar
Uranium-235 Uranium-235 is offline
Administrator
 
Join Date: Nov 2001
Location: Mansfield, TX
Posts: 2,469
Send a message via ICQ to Uranium-235 Send a message via AIM to Uranium-235
Default

sorry, I guess I never saw the thread
__________________
PHP...It kicks ASP
Reply With Quote
  #6  
Old 02-03-2005, 01:12 PM
Aemon_ Aemon_ is offline
Platinium Techie
 
Join Date: Apr 2002
Location: Brandon, UK
Posts: 928
Send a message via AIM to Aemon_
Default

its cool. no worries.

later
__________________

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Forum Jump


All times are GMT -5. The time now is 09:19 AM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.