System Debian Lenny
ICSP VERSION RC7
Hallo wenn ein Kunde ein Domain Alias anlegt und ich den als Reseller aktivire
und ich diesen Alias dann aufrufe bekomme ich dann die "Normale" IspCP loginseite!
Eigendlich sollte doch dann die seite aus dem Ordner des kunden kommen?
hier die Apache2 .conf
Code:
<VirtualHost 91.121.71.41:80>
#
#User vu2008
#Group vu2008
#
<IfModule suexec_module>
SuexecUserGroup vu2008 vu2008
</IfModule>
ServerAdmin webmaster@yobitex.co.cc
DocumentRoot /var/www/virtual/yobixul.co.cc/yobitex.co.cc/htdocs
ServerName yobitex.co.cc
ServerAlias www.yobitex.co.cc yobitex.co.cc *.yobitex.co.cc
Alias /errors /var/www/virtual/yobixul.co.cc/yobitex.co.cc/errors/
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 yobixul.co.cc
</IfModule>
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/yobitex.co.cc
ProxyPassReverse /stats http://localhost/stats/yobitex.co.cc
<Location /stats>
AuthType Basic
AuthName "Statistics for domain yobitex.co.cc"
AuthUserFile /var/www/virtual/yobixul.co.cc/.htpasswd
AuthGroupFile /var/www/virtual/yobixul.co.cc/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
# httpd als entry redirect entry BEGIN.
# httpd als entry redirect entry END.
# httpd als entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/yobixul.co.cc/yobitex.co.cc/cgi-bin/
<Directory /var/www/virtual/yobixul.co.cc/yobitex.co.cc/cgi-bin>
AllowOverride AuthConfig
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd als entry cgi support END.
<Directory /var/www/virtual/yobixul.co.cc/yobitex.co.cc/htdocs>
# httpd als entry PHP support BEGIN.
# httpd als entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd als entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/yobixul.co.cc/yobitex.co.cc:/var/www/virtual/yobixul.co.cc/yobitex.co.cc/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/yobixul.co.cc/yobitex.co.cc/phptmp/"
php_admin_value session.save_path "/var/www/virtual/yobixul.co.cc/yobitex.co.cc/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2008 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/yobixul.co.cc/
<Directory "/var/www/fcgi/yobixul.co.cc">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/yobixul.co.cc/yobitex.co.cc/htdocs>
FCGIWrapper /var/www/fcgi/yobixul.co.cc/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/yobixul.co.cc">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd als entry PHP2 support END.
Include /etc/apache2/ispcp/yobitex.co.cc.conf
</VirtualHost>
# httpd [yobitex.co.cc] als entry END.
# httpd [www.yobitex.co.cc] als entry BEGIN.
<VirtualHost 91.121.71.41:80>
#
#User vu2008
#Group vu2008
#
<IfModule suexec_module>
SuexecUserGroup vu2008 vu2008
</IfModule>
ServerAdmin webmaster@www.yobitex.co.cc
DocumentRoot /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/htdocs
ServerName www.yobitex.co.cc
ServerAlias www.www.yobitex.co.cc www.yobitex.co.cc *.www.yobitex.co.cc
Alias /errors /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/errors/
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 yobixul.co.cc
</IfModule>
# httpd awstats support BEGIN.
ProxyRequests Off
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /stats http://localhost/stats/www.yobitex.co.cc
ProxyPassReverse /stats http://localhost/stats/www.yobitex.co.cc
<Location /stats>
AuthType Basic
AuthName "Statistics for domain www.yobitex.co.cc"
AuthUserFile /var/www/virtual/yobixul.co.cc/.htpasswd
AuthGroupFile /var/www/virtual/yobixul.co.cc/.htgroup
Require group statistics
</Location>
# httpd awstats support END.
# httpd als entry redirect entry BEGIN.
# httpd als entry redirect entry END.
# httpd als entry cgi support BEGIN.
ScriptAlias /cgi-bin/ /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/cgi-bin/
<Directory /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/cgi-bin>
AllowOverride AuthConfig
#Options ExecCGI
Order allow,deny
Allow from all
</Directory>
# httpd als entry cgi support END.
<Directory /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/htdocs>
# httpd als entry PHP support BEGIN.
# httpd als entry PHP support END.
Options -Indexes Includes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
# httpd als entry PHP2 support BEGIN.
<IfModule mod_php5.c>
php_admin_value open_basedir "/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc:/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/phptmp/:/usr/share/php/"
php_admin_value upload_tmp_dir "/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/phptmp/"
php_admin_value session.save_path "/var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/phptmp/"
php_admin_value sendmail_path '/usr/sbin/sendmail -f vu2008 -t -i'
</IfModule>
<IfModule mod_fastcgi.c>
ScriptAlias /php5/ /var/www/fcgi/yobixul.co.cc/
<Directory "/var/www/fcgi/yobixul.co.cc">
AllowOverride None
Options +ExecCGI -MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
<IfModule mod_fcgid.c>
<Directory /var/www/virtual/yobixul.co.cc/www.yobitex.co.cc/htdocs>
FCGIWrapper /var/www/fcgi/yobixul.co.cc/php5-fcgi-starter .php
Options +ExecCGI
</Directory>
<Directory "/var/www/fcgi/yobixul.co.cc">
AllowOverride None
Options +ExecCGI MultiViews -Indexes
Order allow,deny
Allow from all
</Directory>
</IfModule>
# httpd als entry PHP2 support END.
Include /etc/apache2/ispcp/www.yobitex.co.cc.conf
</VirtualHost>
# httpd [www.yobitex.co.cc] als entry END.
# httpd [{ALS_NAME}] als entry BEGIN.
# httpd [{ALS_NAME}] als entry END.
# httpd [91.121.71.41] virtual host entry END.
# httpd [{IP}] virtual host entry BEGIN.
# httpd [{IP}] virtual host entry END.
# httpd Data END.
wobei yubixul.co.cc der kunde ist und yobitex.co.cc der alias sein sollte
Grüße Mattes