VirtualHost on XAMPP 1.7.3 not working

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

VirtualHost on XAMPP 1.7.3 not working

Postby 6bytes » 20. December 2010 14:45

Hi

I just installed XAMPP 1.7.3 on Win 7 64-bit
I can't get VirtualHosts to work I followed settings from my old installation (XAMPP 1.7.0) on old computer (Win XP). I edited httpd-hosts.conf
Code: Select all
<VirtualHost *:80>
   ServerName mydomain.dev
   ServerAdmin my@email.com
   DocumentRoot "c:/workspace/mydomain/"
   <Directory "c:/workspace/mydomain/" >
      Options Indexes FollowSymLinks Includes ExecCGI
      AllowOverride All
      Order allow,deny
      Allow from all
   </Directory>
</VirtualHost>


I added
Code: Select all
127.0.0.1  mydomain.dev
to my hosts file but all I get is "Object not found!".

Weirdest thing is http://localhost/phpmyadmin/ is working and http://localhost/ does not work.

I've been Googling about this and I saw many people having this problem but no one had a real fix for it.

Any idea what may be wrong?
6bytes
 
Posts: 2
Joined: 20. December 2010 14:37

Re: VirtualHost on XAMPP 1.7.3 not working

Postby WilliL » 20. December 2010 15:56

did you added "NameVirtualHost" in httpd-vhosts.conf?
http://httpd.apache.org/docs/2.0/en/vhosts/
Willi
WilliL
 
Posts: 660
Joined: 08. January 2010 10:54
Operating System: Win7Home Prem 64 SP1

Re: VirtualHost on XAMPP 1.7.3 not working

Postby 6bytes » 20. December 2010 16:15

Oh, How could I have missed it?
All is working now, thank you.
6bytes
 
Posts: 2
Joined: 20. December 2010 14:37


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 104 guests