Dieser Beitrag ist von 2010 und wird veraltet sein… Installing Apache #apt-get install apache2 This will install the complete apache2 web server. Configure Apache All books about apache2 i have red are still talking about /etc/apache2/httpd.conf for configure apache2. But here httpd.conf is empty and all configs you have to do are nested in /etc/apache2/apache2.conf for global and /etc/apache2/sites-availiable/siteX for virtual hosts configuration. Your Apache Server you get, is a virtual one inside your main IP, so it is also listed as vhost in /etc/apache2/sites-availiable/default. All changes you have to do there! <Directory> Options FollowSymLinks AllowOverride FileInfo </Directory> <Directory /var/www/> Options FollowSymLinks AllowOverride FileInfo Order allow,deny allow from all </Directory> Dazu sollte gesagt werden, dass AllowOverride None die Verwendung einer .htaccess Datei ausschließt. Diese Option sollte man nach seinen Bedürfnissen selbst einstellen, jedoch ein AllowOverride All nach Möglichkeit vermeiden, da es ein Sicherheitsrisiko darstellt! FileInfo reicht z.B. aus um u.A. rewrites und redirects durchzuführen. Für rewrites muss zudem Options FollowSymLinks aktiviert sein. Fürs rewrites muss noch zusätzlich das Modul rewrite aktiviert werden: #ln-s /etc/apache2/mods-available/rewrite.load /etc/apache2/mods-enabled/ Einrichten von VHosts Hat man bei Hetzner weitere IPs (Subnetze) bestellt (DS Server), so müssen diese zum Einen dem Server und zum Anderen Apache mitgeteilt … Weiterlesen →