Virtual Hosts

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Virtual Hosts

Postby rockyuk » 09. February 2005 23:07

Hi there,
I have tried everything to get my virtual hosts to work and for some reason i still can't get them to work. Any help would be much appreciated i have also read some posts on here but still can't get them to work.

Thanks

Rockyuk :?
rockyuk
 
Posts: 11
Joined: 09. February 2005 21:46

Postby MacDaddy » 10. February 2005 05:02

Code: Select all
NameVirtualHost *:80

<VirtualHost *:80>
    ServerAdmin admin@domain.com
    ServerName www.domain.com:80
    DocumentRoot "C:/htdocs/domain"
    <Directory "C:/htdocs/domain">
        Order Allow,Deny
        Allow from all
        Options Indexes FollowSymLinks +Includes ExecCGI
        AllowOverride All
    </Directory>
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin admin@domain2.com
    ServerName www.domain2.com:80
    DocumentRoot "C:/htdocs/domain2"
    <Directory "C:/htdocs/domain2">
        Order Allow,Deny
        Allow from all
        Options Indexes FollowSymLinks +Includes ExecCGI
        AllowOverride All
    </Directory>
</VirtualHost>
Image
User avatar
MacDaddy
 
Posts: 38
Joined: 11. November 2004 14:26
Location: Australia


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 53 guests