ich würde gerne mod_vhost_alias verwenden, um nicht für jeden vhost eine eigene apache-config-file anlegen zu müssen, allerdings verwende ich php5 als cgi per fcgid und hab damit ein paar Probleme ...
bis jetzt sieht die Konfigurationsdatei eines vhost noch so aus:
Code: Select all
<VirtualHost *>
ServerName abc.domain.tld
ServerAlias abc.domain.tld
ServerAdmin webmaster@abc.domain.tld
SuexecUserGroup web web
DocumentRoot /var/www/vhosts/domain.tld/a/abc/html
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory /var/www/vhosts/domain.tld/a/abc>
Options Indexes MultiViews FollowSymLinks +ExecCGI
AddHandler fcgid-script .php
FCGIWrapper /var/www/vhosts/domain.tld/a/abc/conf/php5-fcgid-htdocs .php
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log common
ServerSignature On
</VirtualHost>
Danke