Techwarelabs Community

Techwarelabs Community (https://www.techwarelabs.com/community/index.php)
-   Software - Applications, Programming, and Games (https://www.techwarelabs.com/community/forumdisplay.php?f=13)
-   -   Apache question... (https://www.techwarelabs.com/community/showthread.php?t=10508)

Aemon_ 01-13-2005 04:38 PM

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

Aemon_ 02-02-2005 01:51 PM

no worries, i found an answer elsewhere.

later

Uranium-235 02-02-2005 11:01 PM

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

Aemon_ 02-03-2005 09:02 AM

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

Uranium-235 02-03-2005 01:09 PM

sorry, I guess I never saw the thread

Aemon_ 02-03-2005 01:12 PM

its cool. no worries.

later


All times are GMT -5. The time now is 01:23 PM.

Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.