Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
2 server
#1
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=

[Image: sreenshot2.jpg]
--------------------------------------------
[Image: sreenshot2.jpg]
--------------------------------------------
[Image: sreenshot2.jpg]
#2
Poste bitte mal deine Konfiguration der vhosts.
#3
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^^

[Image: sreenshot2.jpg]
#4
So wenn ich mir das angucke, sollte es klappen.
Probier doch einfach mal server2.ds-lan über port 81 aufzurufen.
#5
wie das? wenn du damit meinst ich soll server2.ds-lan:81 versuchen dann kann ich dir schonmal sagen das es nicht klappt^^




Users browsing this thread: 1 Guest(s)