View Single Post
  #1  
Old 5th September 2007, 14:02
klaus++ klaus++ is offline
Junior Member
 
Join Date: May 2006
Location: Berlin
Posts: 19
Thanks: 4
Thanked 1 Time in 1 Post
Default www host directs to shared ip message

Hello,
first I thought this must be a common problem but I have not managed to find exactly the same phenomenon:
I create a web with the host name www and the domain name pgz-treptow.de. Now http://pgz-treptow.de points to the www.pgz-treptow.de welcome page and http://www.pgz-treptow.de points to the shared-ip message of the main server.

The server only has one ip, Vhosts_ispconfig.conf seems to be ok and trash is empty. Now I ran out of ideas and would need your inspiration to go any further.

Thank you for your help,
klaus++

BTW here's the paragraph of Vhosts_ispconfig.conf

######################################
# Vhost: www.pgz-treptow.de:80
######################################
#
#
<VirtualHost 85.10.208.41:80>
ServerName www.pgz-treptow.de:80
ServerAdmin webmaster@pgz-treptow.de
DocumentRoot /srv/www/web59/web
ServerAlias pgz-treptow.de
DirectoryIndex index.html index.htm index.php index.php5 index.php4 index.php3 index.shtml index.cgi index.pl index.jsp Default.htm default.htm
ScriptAlias /cgi-bin/ /srv/www/web59/cgi-bin/
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
ErrorLog /srv/www/web59/log/error.log
AddType application/x-httpd-php .php .php3 .php4 .php5
<Files *.php>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php3>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php4>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
<Files *.php5>
SetOutputFilter PHP
SetInputFilter PHP
</Files>
php_admin_flag safe_mode Off
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
Alias /error/ "/srv/www/web59/web/error/"
ErrorDocument 400 /error/invalidSyntax.html
ErrorDocument 401 /error/authorizationRequired.html
ErrorDocument 403 /error/forbidden.html
ErrorDocument 404 /error/fileNotFound.html
ErrorDocument 405 /error/methodNotAllowed.html
ErrorDocument 500 /error/internalServerError.html
ErrorDocument 503 /error/overloaded.html
AliasMatch ^/~([^/]+)(/(.*))? /srv/www/web59/user/$1/web/$3
AliasMatch ^/users/([^/]+)(/(.*))? /srv/www/web59/user/$1/web/$3
</VirtualHost>
Reply With Quote
Sponsored Links