Please help explain VMin Apache stuff

4 posts / 0 new
Last post
#1 Fri, 05/15/2009 - 07:32
dayo

Please help explain VMin Apache stuff

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.

Fri, 05/15/2009 - 09:52
dayo

I have resolved Question 2.

Any assistance on 1, 3 & 4 appreciated.

Thanks

Fri, 05/15/2009 - 10:41 (Reply to #2)
dayo

Got it.

Thanks.

Sun, 06/07/2009 - 07:54
Joe
Joe's picture

<div class='quote'>1) The document root in /etc/httpd/conf/httpd.conf as shown by Webmin &gt;&gt; Servers &gt;&gt; Apache Webserver is /var/www/html but in Vmin &gt;&gt; Server Templates &gt;&gt; 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 &quot;default&quot; stuff.

<div class='quote'>3) I am struggling to understand what &quot;Home directory base&quot; and &quot;Home subdirectory&quot; in Module Config&gt;&gt;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 &quot;/home&quot; 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!

Topic locked