I am confused about a few issues;
I have VMin GPL on Centos 5.3
1) The document root in /etc/httpd/conf/httpd.conf as shown by Webmin >> Servers >> Apache Webserver is /var/www/html but in Vmin >> Server Templates >> Apache Website is ${HOME}/public_html which I'll think is /home/domain/public_html. Do I need to change one of the other make them the same?
2) When I create a virtual server, the domain is served ok but even though I have created /etc/skel/public_html/index.html, there is no default page. Any clues?
3) I am struggling to understand what "Home directory base" and "Home subdirectory" in Module Config>>Defaults for new domains do. Can someone please help explain?
4) The Home directory base is currently at the default of "/home" and the this is confusing the hell out of me. I would have expected consistent references.
Thanks for your help.
I have resolved Question 2.
Any assistance on 1, 3 & 4 appreciated.
Thanks
Got it.
Thanks.
<div class='quote'>1) The document root in /etc/httpd/conf/httpd.conf as shown by Webmin >> Servers >> Apache Webserver is /var/www/html but in Vmin >> Server Templates >> Apache Website is ${HOME}/public_html which I'll think is /home/domain/public_html. Do I need to change one of the other make them the same?</div>
No. Why would you? The first is is for having a single website. Virtualmin doesn't care about that model at all...it only works with the name-based virtual hosting features of Apache. Once Apache is in virtual hosting mode, it pretty much ignores the "default" stuff.
<div class='quote'>3) I am struggling to understand what "Home directory base" and "Home subdirectory" in Module Config>>Defaults for new domains do. Can someone please help explain?</div>
Don't struggle. Just leave them at their defaults. ;-)
Unless you know you need something different, why fight with it? And, if you do need something different, let us know what and we'll help you get those options right.
<div class='quote'>4) The Home directory base is currently at the default of "/home" and the this is confusing the hell out of me. I would have expected consistent references.</div>
They are consistent. User homes live in /home. Since virtual hosts are user data...they live in /home. What's confusing you?
--
Check out the forum guidelines!