Ich stehe in moment einfach auf dem Schlauch -.-
Code:
<VirtualHost 178.250.174.68:80>
<IfModule suexec_module>
SuexecUserGroup vu2002 vu2002
</IfModule>
ServerAdmin webmaster@xxx.de
DocumentRoot /var/www/virtual/xxx.de/htdocs
ServerName xxx.de
ServerAlias *.xxx.de
Alias /errors /var/www/virtual/xxx.de/errors/
RedirectMatch permanent ^/ftp[\/]?$ http://serveradresse/ftp/
RedirectMatch permanent ^/pma[\/]?$ http://serveradresse/pma/
RedirectMatch permanent ^/webmail[\/]?$ http://serveradresse/webmail/
RedirectMatch permanent ^/ispcp[\/]?$ http://serveradresse/
ErrorDocument 401 /errors/401.html
ErrorDocument 403 /errors/403.html
ErrorDocument 404 /errors/404.html
ErrorDocument 500 /errors/500.html
ErrorDocument 503 /errors/503.html
<IfModule mod_cband.c>
CBandUser xxx.de
</IfModule>
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/xxx.de
ProxyPassReverse /stats http://localhost/stats/xxx.de
<Location /stats>
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^(.+)\?config=([^\?\&]+)(.*) $1\?config=xxx.de&$3 [NC,L]
</IfModule>
AuthType Basic
AuthName "Statistics for domain xxx.de"
AuthUserFile /var/www/virtual/xxx.de/.htpasswd
AuthGroupFile /var/www/virtual/xxx.de/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
# httpd dmn entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/xxx.de/cgi-bin/
<Directory /var/www/virtual/xxx.de/cgi-bin>
AllowOverride AuthConfig
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry cgi support END.
<Directory /var/www/virtual/xxx.de/htdocs>
# httpd dmn entry PHP support BEGIN.
# httpd dmn entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd dmn entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/xxx.de/:/var/www/virtual/xxx.de/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/xxx.de/phptmp/"
php_admin_value session.save_path "/var/www/virtual/xxx.de/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2002 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/xxx.de/
<Directory "/var/www/fcgi/xxx.de">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/xxx.de/htdocs>
FCGIWrapper /var/www/fcgi/xxx.de/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/xxx.de">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd dmn entry PHP2 support END.
Include /etc/apache2/ispcp/xxx.de.conf
</VirtualHost>
So sieht der entsprechende Abschnitt aktuell aus. Subdomains gehen, nur eben die gemappte Domain nicht, die leitet auf ispcp um