Page 1 of 1

Problem mit der Einrichtung eines VirtualHosts

Posted: 2004-11-11 10:05
by itsfd
Hallo.
Ich habe ein Problem mit der Einrichtung eines VirtualHosts unter Apache 1.3 auf einem 1&1-Rootserversystem (Suse 8.1/Confixx2)

Der Aufruf http://domain.tld/ liefert eine Fehlerseite (Domain nicht gefunden)

Der Aufruf http://xyz.domain.tld/ liefert die gewünschte Seite
Mit anderen Domains klappt es. Mit einer einzelnen nicht.


Bitte um Hinweise, wie ich weiter vorgehen sollte.

Danke, Frank.


Hier ein Auszug aus confixx_vhost.conf:
<VirtualHost 111.111.111.111:80>
ServerName http://www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /home/www/web1/html/start
DirectoryIndex index.php index.html
User web1
Group ftponly
ScriptAlias /cgi-bin/ /home/www/web1/html/cgi-bin/
CustomLog /home/www/web1/log/access_log confixx2
ErrorLog /home/www/web1/log/error_log
php_admin_value open_basedir /home/www/web1/
php_admin_value upload_tmp_dir /home/www/web1/phptmp/
php_admin_flag safe_mode Off
</VirtualHost>

Problem mit der Einrichtung eines VirtualHosts

Posted: 2004-11-12 08:51
by kama
Hallo,

stell mal wie folgt um:

Code: Select all

<VirtualHost 111.111.111.111:80>
ServerName domain.tld
ServerAlias *.domain.tld
DocumentRoot /home/www/web1/html/start
DirectoryIndex index.php index.html
User web1
Group ftponly ...
weil http://www.domain.tld => *.domain.tld entspricht.....

MfG
[/code]

Re: Problem mit der Einrichtung eines VirtualHosts

Posted: 2004-11-12 09:36
by itsfd
Danke, jetzt geht's.

Frank