Ich hab' meinen Rechner neu gemacht und
meinen Apache-Webserver neu installiert....
und wenn ich wie "früher" in der httpd.conf angebe:
-----
<VirtualHost 127.0.0.1:80>
ServerName pipe
Serveralias pipe
ServerAdmin test@localhost
DocumentRoot "D:/Homepage/pipe"
<Directory "D:/Homepage/pipe">
DirectoryIndex index.htm index.html index.php
</Directory>
ErrorLog logs/play-error_log
TransferLog logs/play-access_log
</VirtualHost>
<VirtualHost 127.0.0.1:80>
ServerName hexe
Serveralias hexe
ServerAdmin test@localhost
DocumentRoot "D:/Homepage/hexe"
<Directory "D:/Homepage/hexe">
DirectoryIndex index.htm index.html index.php
</Directory>
ErrorLog logs/play-error_log
TransferLog logs/play-access_log
</VirtualHost>
-----
und in der hosts:
----
127.0.0.1 localhost
127.0.0.1 pipe
127.0.0.1 hexe
----
dann kann ich mich nur leider immer im "ersten" virualhost einloggen... (http://pipe)
hexe findet er nicht... ???
Was mache ich nur falsch???
Habe schon folgendes ausprobiert, aber da gibt's dann Probleme mit dem Datenbankzugriff,
---
Alias /pipe "D:/Homepage/pipe/"
<Directory "D:/Homepage/pipe/">
DirectoryIndex index.htm index.html index.php index.php3 index.phtml index.shtml index.cgi index.pl
</Directory>
Alias /hexe "D:/Homepage/hexe/"
<Directory "D:/Homepage/hexe/">
DirectoryIndex index.htm index.html index.php index.php3 index.phtml index.shtml index.cgi index.pl
</Directory>
---
weil ich dann so posten muss: http://localhost/hexe
Mensch Hilfe!
Dann hab'schs auch gleich noch so probiert:
----
Alias pipe "D:/Homepage/pipe/"
<Directory "D:/Homepage/pipe/">
DirectoryIndex index.htm index.html index.php index.php3 index.phtml index.shtml index.cgi index.pl
</Directory>
----
ohne erfolg, weil dann oben folgendes steht:
http://pipe/xampp/splash.php
und er flitzt ins quasi root xampp
Kann mir bitte jemand helfen???