httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dirk <dirk.kleinschm...@gmail.com>
Subject Re: [users@httpd] Re: How to disable listing of directory folders and files ?
Date Sun, 10 Oct 2004 12:12:22 GMT
To help to seaching ;)

have a look at http://httpd.apache.org/docs-2.0/mod/core.html#directory

Indexes: If a URL which maps to a directory is requested, and there is
no DirectoryIndex (e.g., index.html) in that directory, then
mod_autoindex will return a formatted listing of the directory.

You will have to set the -Indexes option to avoid directory listing
within your directory directive. e.g.

<Directory /path/to/your/htdocs>
Options -Indexes
</Directory>


On Sun, 10 Oct 2004 18:18:30 +0800, David Wong <amdawong@starhub.net.sg> wrote:
> Which section?
> 
> regards
> 
> 
> 
> -----Original Message-----
> From: Michelle Konzack [mailto:linux4michelle@freenet.de]
> Sent: Sunday, October 10, 2004 6:01 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] Re: How to disable listing of directory folders
> and files ?
> 
> Am 2004-10-10 17:26:30, schrieb David Wong:
> > Hi guys,
> >
> > Currently, if my domain is type, my root folder of the webserver
> (htdoc)
> > will be displayed.
> > That is, users will see my file structure and files in the root
> folder.
> >
> > I do not want that to happen.
> > I do not want people who do not have the specific web address I give
> > them to look at my files and different websites I may have on my root
> > directory.
> >
> > Anyway I can stop that ?
> 
> By reading the apache documentation ?
> It is nice explained.
> 
> > Regards,
> > David
> 
> Greetings
> Michelle
> 
> --
> Linux-User #280138 with the Linux Counter, http://counter.li.org/
> Michelle Konzack   Apt. 917                  ICQ #328449886
>                    50, rue de Soultz         MSM LinuxMichi
> 0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)
> 
> 
> ---------------------------------------------------------------------
> 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
> 
> 


-- 
Try http://einx.dyndns.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