Praktisches für IT

Infos eines IT-Neulings

  • Meta

  • Archive

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

Sie müssen Eingelogged , um eine Antwort zu hinterlassen.

Get Adobe Flash playerPlugin by wpburn.com wordpress themes