I am running Apache 2 in Linux and have several websites.

Say site A is in /var/www/a and there is a directory /var/www/a/foo/
and foo/ has 3 .html files but I only wish to serve index.html
so how do I protect the other files so that people can't fish for the
name to find them. Also how do I prevent visitors from browsing other
directories?
And what if I am using CSS and PHP how can I protect that also? I have
heard about .htaccess but I don't know how to set this up. Can I see
someone's file?

Merry Christmas,
Zach

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to