Normal nirgends, da PHP auch automatisch in einem VHost tut. Allerdings weis ja keiner, was du da überhaupt konfiguriert hast.
Sorry, dann versuch ich mal zu erklären.
Installation von Apache 2 ins Verzeichnis D:\Apache2
in der httpd.conf folgende Zeilen eingefügt und erweitert
- Code: Select all
DirectoryIndex index.html index.htm index.php index.php3
ScriptAlias /php/ "d:/php/"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
Action application/x-httpd-php /php/php.exe
Hier die einträge für den vhost
NameVirtualHost 192.168.10.24:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
<VirtualHost dummy.kurosaki.de:80>
ServerAdmin webmaster@kurosaki.de
DocumentRoot "D:/Apache2/htdocs/Kurosaki/"
ServerName dummy.kurosaki.de
ErrorLog "D:/Apache2/htdocs/Kurosaki/logs/error_log"
CustomLog "D:/Apache2/htdocs/Kurosaki/logs/dummy-host.example.com-access_log" common
</VirtualHost>
Wie in der ersten Mail geschrieben. Wenn ich jetzt
http://localhost/anime.php eingebe rennt das php.
Wenn ich aber dummy.kurosaki.de/anime.php eingebe bekomme ich den Text von dem phpscribt angezeigt.
localhost hat Pfad d:/apache2/htdocs/
dummy.kurosaki.de hat den Pfad d:/apache2/htdocs/kurosaki/
Idee war so mehrere webseiten ausbrobieren zu können.
Hoffe die Info reicht um mir jetzt zu helfen.
Danke