Ok, thanks for the quick answer. I will try this in a second, but, just a
couple of questions.
1) DocumentRoot "/home/group1/user1/public_html"
<Directory "/var/www/stfw.net/htdocs">
Should I write there the same path there? I mean, should I write the
path to the public_html directory both in DocumentRoot and in Directory?
2) How should I add the subdomains in this 01_example.com.conf. Would it be
something like this?
<VirtualHost subd1.example.com:80 <http://www.example.com/>>
DocumentRoot "/home/group1/user1/public_html/subd1/"
<Directory "/var/www/stfw.net/htdocs">
Options Indexes
order allow,deny
Allow from all
</Directory>
</VirtualHost>
Thanks!
You don't edit 00_default_vhost.conf, that for teh default setting (hint:
> look at the name of the file). Put your settings in 01_domain.conf,
> 02_domain2.conf etc.
>
> Secondly, you have only defined more default setups here. And where isthe
> Directory stanza for the user dir? The contents of 01_example.com.conf
> should be along the lines of
>
> <VirtualHost www.example.com:80>
> ServerAlias example.com
> DocumentRoot "/home/group1/user1/public_html"
> <Directory "/var/www/stfw.net/htdocs">
> Options Indexes
> order allow,deny
> Allow from all
> </Directory>
> </VirtualHost>
>
>
> --
> Neil Bothwick
>
> WinErr 011: Window open - Do not look outside
>