Greenguy's Board

Greenguy's Board (http://www.greenguysboard.com/board/index.php)
-   Programming & Scripting (http://www.greenguysboard.com/board/forumdisplay.php?f=15)
-   -   Ms Cleo (http://www.greenguysboard.com/board/showthread.php?t=4364)

soggy 2004-01-30 09:24 PM

Ms Cleo
 
I used your .htaccess code on your help page and it works great!

My question is how can i keep people from viewing my directories in say http:www.any-domain.com/any-site/pics

thanx in advance,

soggy

Cleo 2004-01-30 09:49 PM

It depends on how your host has set things up, but this should work.

Put this in your htaccess file.

Options -Indexes

Also you can add this line so that php pages and stuff become valid index pages.

DirectoryIndex index.shtml index.php index.html index.htm


All times are GMT -4. The time now is 12:51 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
© Greenguy Marketing Inc