MySQL Dynamic Virtual Hosts

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

MySQL Dynamic Virtual Hosts

Postby steve lowe » 10. November 2007 13:40


Does any one know if XAMMP can be enabled so that the virtual hosts can work from a MySQL database.

This would be really great for sites with large number of virtual hosts.

Any help would be greatly appreciated.

steve lowe
Posts: 2
Joined: 10. November 2007 13:37

Postby Scory » 11. November 2007 17:22

What do you mean be "virtual hosts can work from a MySQL database"?

Can you explain more precisely what you are looking for?


Postby LooseCannon » 12. November 2007 14:46

Hi steve lowe. I'm not sure what the issue is either.

After installing XAMPP, it is ready and waiting for virtual hosts (vhosts) to utilise PHP and MySQL. Refer to C:\xampp\apache\conf\extra\httpd-vhosts.conf and the many other threads here about vhosts.

Maybe you want a vhost 'name' to be actually stored in the database? This would be interesting.

I believe that Apache handles the serving of vhosts and that comes before PHP code connects to the database... Hmmm.
User avatar
Posts: 162
Joined: 18. September 2007 12:07
Location: Hampshire, UK

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 93 guests