This website is deprecated, and remains online only for historic access to old issues and docs for historic versions of Virtualmin. It has been unmaintained for several years, and should not be relied on for up-to-date information. Please visit www.virtualmin.com instead.
HI
I created 2 virtual server, domain-1.com and domain-2.com , they have ther own directory on /home, when i try to reach one of this domains they only show that was in /var/www/html
Can you help me ?
Thanks
The document don't help, i try with debian 4, debian 5, centos a,s every time the same problemes all of my virtual server display the files that are on /var/www/html, i think it's a probleme with suexec but i don't know how to solve it...
My guess is that the default VirtualHost that is setup on your server has a * in the VirtualHost definition, rather than an IP address. The above document describes this, but basically, you may need to change:
on a clean minimum install of the OS, make sure you let virtualmin install Apache, that will make SUexec work the correct way. So exclude Apache when installing the OS (I suggest using Centos although the other distros are good too)
you may want to first look in http://www.virtualmin.com/documentation/web/troubleshooting and see if that document can solve your problem
The document don't help, i try with debian 4, debian 5, centos a,s every time the same problemes all of my virtual server display the files that are on /var/www/html, i think it's a probleme with suexec but i don't know how to solve it...
Howdy,
I suspect your issue may be related to something in here:
http://www.virtualmin.com/documentation/web/troubleshooting#the_wrong_si...
My guess is that the default VirtualHost that is setup on your server has a * in the VirtualHost definition, rather than an IP address. The above document describes this, but basically, you may need to change:
To:
In your Apache config.
-Eric
on a clean minimum install of the OS, make sure you let virtualmin install Apache, that will make SUexec work the correct way. So exclude Apache when installing the OS (I suggest using Centos although the other distros are good too)