Posts: 1'004
Threads: 101
Joined: Jun 2008
(This post was last modified: 18.08.2008, 17:08 by Narutofan XXl.)
18.08.2008, 16:56
ich hab jetzt 2 server drauf (prestige hatt es mir gemacht thx nochmal^^). wenn ich nun aber im ordner 2 z.B. den index (index.tpl) ändere,passiert nichts unter der adresse server2.ds-lan ......wenn ich allerdings im ordner server1 etwas ändere ändert sich alles.....(also auch server2...)
Edit: hier die screenshots=
--------------------------------------------
--------------------------------------------
Posts: 1'004
Threads: 101
Joined: Jun 2008
ok. prestige hatt mir jetz schonmal geholfen die fehlermeldung (siehe screenshot in diesem post) wegzukriegen aber i-wie werden sie immer noch nicht getrennt "gesteuert"^^
inhalt:
PHP Code:
#
# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.
#
# Use name-based virtual hosting.
#
##NameVirtualHost *:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
##<VirtualHost *:80>
## ServerAdmin webmaster@dummy-host.example.com
## DocumentRoot /www/docs/dummy-host.example.com
## ServerName dummy-host.example.com
## ServerAlias www.dummy-host.example.com
## ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
## CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
##</VirtualHost>
##<VirtualHost *:80>
## ServerAdmin webmaster@dummy-host2.example.com
## DocumentRoot /www/docs/dummy-host2.example.com
## ServerName dummy-host2.example.com
## ErrorLog @rel_logfiledir@/dummy-host2.example.com-error_log
## CustomLog @rel_logfiledir@/dummy-host2.example.com-access_log common
##</VirtualHost>
<VirtualHost *:80>
DocumentRoot C://users/Chrissi/desktop/dslan_v1.12/htdocs/Server1
ServerName server1.ds-lan
</VirtualHost>
<VirtualHost *:81>
DocumentRoot C://users/Chrissi/desktop/dslan_v1.12/htdocs/Server2
ServerName server2.ds-lan
</VirtualHost>
vorher war bei server2 *:80 und da kam die fehlermeldung in dem screenshot^^
Posts: 1'004
Threads: 101
Joined: Jun 2008
wie das? wenn du damit meinst ich soll server2.ds-lan:81 versuchen dann kann ich dir schonmal sagen das es nicht klappt^^