Hallo,
vielleicht kann mir jemand mit praktischen Tipps weiterhelfen. Ich habe Apache 2.2.4 auf einem Windows XP Prof-System installiert.
httpd.conf:
***********
---------------------------
This should be changed to whatever you set DocumentRoot to.
<Directory "K:/WWW">
---------------------------
If your host doesn't have a registered DNS name, enter its IP address here.
ServerName 127.0.0.1
---------------------------
DocumentRoot: The directory out of which you will serve your
documents. By default, all requests are taken from this directory, but
symbolic links and aliases may be used to point to other locations.
DocumentRoot "K:/WWW"
---------------------------
Apache wurde gemäß den Standardvorschlägen unter C:\Programme\Apache Software Foundation installiert und läuft auch.
Beim Aufruf von http://localhost erscheint eine "Index of/"-Seite, welche mir die zwei unter "K:/WWW" angelegten Verzeichnisse als Hyperlink anbietet.
Die Hosts-Datei enthält folgenden Eintrag:
-------------------------------------
# 102.54.94.97 rhino.acme.com # Quellserver
# 38.25.63.10 x.acme.com # x-Clienthost
127.0.0.1 localhost
127.0.0.1 www.bbl-online.test
-------------------------------------
Die Datei httpd-vhosts.conf besteht aus:
-------------------------------------------
Use name-based virtual hosting.
NameVirtualHost 127.0.0.1
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.Speedport_W_500
DocumentRoot /www/docs/dummy-host.Speedport_W_500
ServerName dummy-host.Speedport_W_500
ServerAlias www.dummy-host.Speedport_W_500
ErrorLog logs/dummy-host.Speedport_W_500-error_log
CustomLog logs/dummy-host.Speedport_W_500-access_log common
</VirtualHost>
<VirtualHost 127.0.0.1>
DocumentRoot "K:/WWW"
ServerName www.bbl-online.test
</VirtualHost>
------------------------------------------------------
Ich bekomme bei http://localhost und http://www.bbl-online.test jeweils nur die "Index of/"-Seite zu sehen.
Könnte mir bitte jemand sagen, wo ich noch Nachträge/Zusatzangaben einfügen muss?!
Danke schon mal.
Mit freundlichen Grüßen,
André
