Apache 2 - Windows XP - Virtual hosts
Hejsa,Jeg forsøger at få Apache server på windows platform at køre med 2 domains. Men det lader til at den kun vil bruge main documentroot. Den bruger samme documentroot lige meget hvilket domain man går ind på.
ServerName www.sickbay.dk:80
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/"
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/bahnegarden">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Aslan">
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
NameVirtualHost *:80
<VirtualHost 83.72.129.153:80>
ServerName www.aslanshelte.dk
ServerAlias aslanshelte.dk *.aslanshelte.dk
DocumentRoot "C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/Aslan"
DirectoryIndex index.php index.htm index.html index.shtml
</VirtualHost>
Nogle bud?