httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Jones" <tetragondz...@gmail.com>
Subject Re: [users@httpd] Help with Apache
Date Wed, 17 May 2006 05:33:51 GMT
On 5/17/06, Devireddy, Nagendra Reddy (STSD) <nagendra@hp.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message