long way here
long way here
i have a centos 5.3 vps. in the begining the installation of webmin + virtualmin went good. then when i was playing with it, i tried to add a new virtual host and i got an error regarding perl. i had to uninstall webmin, reinstall webmin, install virtualmin through the webmin module manager.
i have 2 domains : maindomain.com and hosteddomain.com
the document root for the maindomain.com is : /var/www/html the document root for hosteddomain is : /home/123/public_html
i seeing the same page on the maindomain.com as on the hosteddomain.com , i see the page from /home/123/public_html on both of my domains. if i delete the hosteddomain.com, then i can see the page from /var/www/html .
im having an error :
The Suexec command on your system is configured to only run scripts under /var/www, but the Virtualmin base directory is /home. CGI and PHP scripts run as domain owners will not be executed.
.. your system is not ready for use by Virtualmin.
( in fact my system is ready to use virtualmin, i hosted hosteddomain.com, i made a php script and php works )
if i comment # the line in httpd.conf where the suexec module is loaded, then the phenomen explained earlier ( on my main domain i see the page from the hosted domain ) is reversed. now i see on the hosted domain the page from the main domain.
my problem is simple : i have a path for the document root that is not followed. its like i have 2 different types of juice bottles, but the juice is the same in both of them.<br><br>Post edited by: paxnwo, at: 2009/04/24 15:58