Praktisches für IT

Infos eines IT-Neulings

  • Meta

  • Archiv

  • Spam Blocked

Apache2: Directory Listing deaktivieren

Erstellt von Dominik am Freitag 9. Januar 2009

Um das Directory Listing des Apaches zu deaktivieren, muss man “Options -Indexes” in der vHost Konfig angeben

/etc/apache2/sites-available/example.com
<VirtualHost *>
ServerAdmin admin@localhost
Options -Indexes
DocumentRoot /home/example/www/home
ServerName example.com
ServerAlias example.com *.example.com
</VirtualHost>
OS: Debian Etch 4.0, Apache v2.2.3

Kommentar schreiben

XHTML: Sie können diese Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Get Adobe Flash playerPlugin by wpburn.com wordpress themes