On 5/17/06, Devireddy, Nagendra Reddy (STSD) <nagendra@xxxxxx> wrote:
Hi, I am new to this and have few doubts about Apache. When I open my home page, Its displaying the links to folders instead of displaying the logo or apache home page. How can I avoid that. This is a major security issue for my site.
Placing anything on the WWW is a security issue. You can play hide-n-seek games but overall how can you be sure all your data is secure? To answer your question create an html file and call it index.html and place in all the directories you do not want people seeing your file listing. Next edit httpd.conf and mask all the files you dont want people to see in the individual file listings using IndexIgnore. Lastly, in the httpd.conf, turn off Indexes (see Options.) References: http://httpd.apache.org/docs-2.0/mod/mod_autoindex.html#indexignore http://httpd.apache.org/docs-2.0/mod/core.html#options http://httpd.apache.org/docs/mod/core.html#options http://www.onlamp.com/pub/a/apache/2005/09/08/apacheckbk.html HTH/sx -- WC (Bill) Jones -- http://youve-reached-the.endoftheinternet.org/ --------------------------------------------------------------------- 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-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx