Ich wollte mir neben dem standard Localhost noch 2 weitere "Domains" anlegen.
Leider wird immer auf den Localhost Ordner umgeleitet.
Dafür habe ich ich die vhosts von Windows geändert
Und in der http_vhosts.conf
<VirtualHost 127.0.0.1>
ServerName localhost
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin webmaster@localhost
DocumentRoot "c:/xampp/htdocs"
ScriptAlias /cgi-bin/ "c:/Programme/xampp/htdocs/cgi-bin/"
<Directory "c:/xampp/htdocs">
Options Indexes FollowSymLinks
Options +Includes
# Options +
AllowOverride FileInfo
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.php
</Directory>
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerName www.paid.dd
ServerAlias www.paid.dd
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin test@paid.dd
DocumentRoot "f:/"
ScriptAlias /cgi-bin/ "c:/Programme/xampp/cgi-bin/"
<Directory "f:/">
Options Indexes FollowSymLinks
Options +Includes
# Options +
AllowOverride FileInfo
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.php
</Directory>
</VirtualHost>
<VirtualHost 127.0.0.1>
ServerName www.gigant.dd
ServerAlias www.gigant.dd
AddType text/html .shtml
AddHandler server-parsed .shtml
ServerAdmin test@gigant.dd
DocumentRoot "d:/"
ScriptAlias /cgi-bin/ "c:/Programme/xampp/cgi-bin/"
<Directory "d:/">
Options Indexes FollowSymLinks
Options +Includes
# Options +
AllowOverride FileInfo
AllowOverride None
Order allow,deny
Allow from all
DirectoryIndex index.html index.htm index.php
</Directory>
</VirtualHost>