ich hab schon viel gelesen aber nur wenig begriffen...
ich möchte gerne auf meine mapache 2 webseiten betreiben meine eigene und nun das forum des browsergame das ich spiele...
der inhalt meiner httpd_vhosts.conf sieht folgendermaßen aus:
- Code: Select all
#
# 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>
DocumentRoot C:/webserver/homepage/
ServerName sandmann86
DirectoryIndex index.html index.php
<Directory "C:/webserver/homepage">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
AllowOverride All
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot C:/webserver/thewest/
ServerName thewesthh
DirectoryIndex index.html index.php
<Directory "C:/webserver/thewest">
Options Indexes FollowSymLinks Includes ExecCGI
Order allow,deny
Allow from all
AllowOverride All
</Directory>
</VirtualHost>
und meine hosts datei im windows ordner sieht folgendermaßen aus
- Code: Select all
127.0.0.1 localhost
127.0.0.1 thewesthh
127.0.0.1 sandmann86
domain dafür sind sandmann86.dyndns.org und thewesthh.dyndns.org
was mache ich falsch muss ich noch was in meine httpd.conf eintragen? wechsel ich die reihenfolge ist nur die thewest tesseite zu sehen und meine sandmann seite nichtmehr...... könnt ihr mir helfen? ich verweifel ein wenig