====== Apache Webserver ====== ==== Wichtige Configfiles ==== * Apache Konfiguration * /etc/apache2/httpd.conf * PHP Konfiguration * /etc/php5/apache2/php.ini ==== Passwortschutz Apache ==== * Passwortdatei erstellen mittels: * /usr/bin/htpasswd2 * in /etc/apache2/httpd.conf folgenden Code einfügen: #Passwortschutz AuthUserFile /home/user/passwords.pwd #Pfad zum vorher erstellten Passwortfile AuthName "user" Require valid-user ==== Anzeigen eines Verzeichnisses ohne index.html ==== * in /etc/apache2/httpd.conf folgenden Code einfügen: #ermöglicht Anzeigen des Verzeichnisses ohne index.html Options +Indexes Order allow,deny Allow from all ==== Alias-Verzeichnis definieren ==== # Zugriff auf lokales Laufwerk Alias /ourdata/ "C:/data/media/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all * http://aktuell.de.selfhtml.org/artikel/server/apacheconf/scripts/windows_1_3_08.htm * http://stackoverflow.com/questions/5570085/accessing-files-outside-the-document-root-with-apache ---- Links: * http://bitnami.com/stack/xampp?utm_source=bitnami&utm_medium=installer&utm_campaign=XAMPP%2BInstaller * http://httpd.apache.org/docs/2.4/mod/core.html#options