S
Speed4Life
Grünschnabel
Habe soeben versucht 2 vHosts anzulegen.
Dazu ein Ausschnitt aus meiner httpd.conf:
Komischerweiße wird, wie man unter http://s5.speed4life.de sieht,
die URL nicht ins Verzeichnis home/www/s5 geleitet, sondern in das
Server 3 Verzeichnis.
Apache habe ich restarted.
Apachectl -S bringt:
Ich hoffe ihr könnt mir helfen
Dazu ein Ausschnitt aus meiner httpd.conf:
Code:
DocumentRoot "/home/www/web1/html"
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
NameVirtualHost IP
<VirtualHost IP>
ServerName nfs4life-s3.gamaxx.de
ServerAlias www.nfs4life-s3.gamaxx.de
ServerAdmin 2good4u@speed4life.de
DocumentRoot /home/www/web1/html
<Directory "/home/www/web1/html">
Options FollowSymLinks MultiViews
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
AddOutputFilterByType DEFLATE text/html
Order allow,deny
allow from all
</Directory>
</VirtualHost>
<VirtualHost IP >
ServerAdmin 2good4u@speed4life.de
ServerName s5.speed4life.de
ServerAlias www.s5.speed4life.de ww.s5.speed4life.de w.s5.speed4life.de
DocumentRoot /home/www/s5
<Directory "/home/www/s5">
Options FollowSymLinks MultiViews
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
AddOutputFilterByType DEFLATE text/html
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Komischerweiße wird, wie man unter http://s5.speed4life.de sieht,
die URL nicht ins Verzeichnis home/www/s5 geleitet, sondern in das
Server 3 Verzeichnis.
Apache habe ich restarted.
Apachectl -S bringt:
Code:
VirtualHost configuration:
IP:* is a NameVirtualHost
default server nfs4life-s3.gamaxx.de (/usr/server/apache-php5/conf/httpd.conf:61)
port * namevhost nfs4life-s3.gamaxx.de (/usr/server/apache-php5/conf/httpd.conf:61)
port * namevhost s5.speed4life.de (/usr/server/apache-php5/conf/httpd.conf:78)
Syntax OK
Ich hoffe ihr könnt mir helfen
Zuletzt bearbeitet: