VirtualHost
Submitted by floh on Sa, 2010-03-13 17:47
Auf birgit, die Datei /etc/apache2/sites-available/birgit.example.com mit dem folgendem Inhalt anlegen:
<VirtualHost *>
ServerName birgit.example.com
ServerAdmin webmaster@example.com
DocumentRoot /srv/gitosis/repositories
SetEnv GITWEB_CONFIG /etc/gitweb.conf
Alias /gitweb.css /usr/share/gitweb/gitweb.css
ServerName birgit.example.com
ServerAdmin webmaster@example.com
DocumentRoot /srv/gitosis/repositories
SetEnv GITWEB_CONFIG /etc/gitweb.conf
Alias /gitweb.css /usr/share/gitweb/gitweb.css
Submitted by floh on Mo, 2010-02-08 21:56
Htaccess mit Authentifizierung an einer MySQL basierten Drupal-Installation.
Installation des benötigten Apache Moduls
aptitude install libapache2-mod-auth-mysql
Aktivierung des authmysql-Moduls
a2enmod auth_mysql
Submitted by floh on Mi, 2008-10-01 00:27
Anlegen der Datei /etc/apache2/sites-available/example.com.localhost.conf,
auch hier ist foobar wieder durch den eigenen Benutzernamen zu ersetzten, DocumentRoot zeigt auf den symbolischen Link, welcher wiederum auf die Wurzel der Drupal-Installation zeigt.
<VirtualHost *>
ServerName example.com.localhost
ServerAlias www.example.com.localhost
ServerName example.com.localhost
ServerAlias www.example.com.localhost

