D
dennis00
Guest
I have this problem. After I migrated 300 domains from another server to this server, the Plesk default page (no site is configured for...) changed to SITECOMINGUP.com.
If I suspend a domain, it automaticly frame-forwards to www.SITECOMINGUP.com.
The solution is moving the line "Include /home/httpd/vhosts/SITECOMINGUP.com/conf/httpd.include" between the other includes.
This makes sure a suspended domain shows "no hosting configured for this domain" as should be.
The problem is... when I make any change in Plesk regarding the webhosting, Plesk automaticly rewrites zz010_psa_httpd.conf and re-creates the error, so every domain will automaticly forward to www.SITEOCOMINGUP.com again.
/etc/httpd/conf.d/zz010_psa_httpd.conf:
Does anybody have a clue what could cause this problem and more important, how it's solved?
If I suspend a domain, it automaticly frame-forwards to www.SITECOMINGUP.com.
The solution is moving the line "Include /home/httpd/vhosts/SITECOMINGUP.com/conf/httpd.include" between the other includes.
This makes sure a suspended domain shows "no hosting configured for this domain" as should be.
The problem is... when I make any change in Plesk regarding the webhosting, Plesk automaticly rewrites zz010_psa_httpd.conf and re-creates the error, so every domain will automaticly forward to www.SITEOCOMINGUP.com again.
/etc/httpd/conf.d/zz010_psa_httpd.conf:
Code:
NameVirtualHost SERVER_IP:80
NameVirtualHost SERVER_IP:80
NameVirtualHost SERVER_IP:80
NameVirtualHost SERVER_IP:80
NameVirtualHost SERVER_IP:443
NameVirtualHost SERVER_IP:443
NameVirtualHost SERVER_IP:443
NameVirtualHost SERVER_IP:443
ServerName server03.server.nl
ServerAdmin [email]info@server.nl[/email]
DocumentRoot /home/httpd/vhosts/default/htdocs
<IfModule mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %O \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<IfModule !mod_logio.c>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" plesklog
</IfModule>
<Directory "/home/httpd/vhosts">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
<Directory "/var/mailman">
AllowOverride All
Options SymLinksIfOwnerMatch
Order allow,deny
Allow from all
<IfModule sapi_apache2.c>
php_admin_flag engine off
</IfModule>
<IfModule mod_php5.c>
php_admin_flag engine off
</IfModule>
</Directory>
<IfModule mod_userdir.c>
UserDir disabled
</IfModule>
Include /home/httpd/vhosts/SITECOMINGUP.com/conf/httpd.include
<VirtualHost \
(lots of code/lines) .....................
<VirtualHost \
SERVER_IP:80 \
SERVER_IP:80 \
SERVER_IP:80 \
SERVER_IP:80 \
>
DocumentRoot /home/httpd/vhosts/default/htdocs
ServerName lists
ServerAlias lists.*
UseCanonicalName Off
ScriptAlias /mailman/ /var/mailman/cgi-bin/
Alias /icons/ /var/www/icons/
Alias /pipermail/ /var/mailman/archives/public/
<Directory /var/mailman/archives/>
Options FollowSymLinks
</Directory>
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost \
SERVER_IP:443 \
SERVER_IP:443 \
SERVER_IP:443 \
SERVER_IP:443 \
>
DocumentRoot /home/httpd/vhosts/default/httpsdocs
ServerName lists
ServerAlias lists.*
UseCanonicalName Off
ScriptAlias /mailman/ /var/mailman/cgi-bin/
Alias /icons/ /var/www/icons/
Alias /pipermail/ /var/mailman/archives/public/
<Directory /var/mailman/archives/>
Options FollowSymLinks
</Directory>
</VirtualHost>
</IfModule>
# This is where the includes start
Include /home/httpd/vhosts/123.nu/conf/httpd.include
Include /home/httpd/vhosts/456.nl/conf/httpd.include
Include /home/httpd/vhosts/789.nl/conf/httpd.include
(lots of code/lines)