Ich habe meine Entwicklungsumgebung auf xampp umgestellt.
Leider habe ich ein Problem mit den vhosts.
Inhalt der C:/Windows/System32/drivers/etc/hosts :
- Code: Select all
127.0.0.1 groups
127.0.0.1 localhost
127.0.0.1 test
und hier der Inhalt der httpd-vhosts.conf :
- Code: Select all
<VirtualHost *:80>
ServerName groups
DocumentRoot "c:/xampp/htdocs/groups/public/"
ErrorLog "c:/xampp/htdocs/groups/logs/apache.error.log"
<IfModule log_config_module>
CustomLog "c:/xampp/htdocs/groups/logs/apache.access.log" common
</IfModule>
<Directory "c:/xampp/htdocs/groups/public/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName localhost
DocumentRoot "c:/xampp/htdocs/"
<Directory "c:/xampp/htdocs/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
ServerName test
DocumentRoot "c:/xampp/htdocs/test/"
<Directory "c:/xampp/htdocs/test/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Ich habe 3 Vhosts gebaut. Das Problem besteht darin, das ich mit allen Aufrufen immer nur den oberen VHost Angezeigt bekomme.
Wer kann mit einer Idee weiter helfen ?
Gruß Stephan