(Untitled)

May 05, 2005 14:18

I need some help. What is the script to hide contents in your website directories? I had it somewhere but it seems to have vanished and I have nosy people poking around.

Thanks! :)

Leave a comment

Comments 9

corto May 5 2005, 19:25:20 UTC
what is your sight running on? Linux Apache? or Windows IIS?

Reply

vespertine_x May 5 2005, 19:27:47 UTC
It says it's running on Linux.

Reply

corto May 5 2005, 20:22:12 UTC
so it's apache.
You want to ensure that people that put in a url with a directory instead of a file name... don't get to see the list of files?

you need to issue the command (as root)
"chmod 411 directory name" from the superior directory to the ones you want to protect...

AND / OR

you can modify the httpd.conf file in /etc/httpd/conf/ and change the user directory section to turn off "indexoptions".

who will do this for you? or will you do it yourself?

Reply

vespertine_x May 6 2005, 18:22:08 UTC
Yeah that's right. In my main etc folder I don't have /etc/httpd/conf/.

Would it be easier to just do that .htaccess thing in each directory?

Reply


sbourge May 5 2005, 20:42:20 UTC
Look at htaccess in google. Fantastic tool that can hide what you want to hide, protect folders with logins and passwords etc...

Reply

vespertine_x May 6 2005, 18:23:31 UTC
That's what I was using before. I just forgot the name of it. I think I found what I need. Thank you for reminding me! :)

Reply

sbourge May 6 2005, 18:26:44 UTC
You're welcome :)

Reply


eddieguy May 6 2005, 01:46:23 UTC
if you have a directory on your website like
/images/
make an index page for that directory that will either send the traffic to you main index page OR to some other site that you can make sales too.

Reply

vespertine_x May 6 2005, 18:25:10 UTC
I have an images folder but also within each directory I have folders with images. I find it more organized that way. I think I will do that as well as the .htaccess just to be on the safe side.

Thank you! :)

Reply


Leave a comment

Up