[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Using symbolic links in DocumentRoot directive
- Subject: Re: [cobalt-users] Using symbolic links in DocumentRoot directive
- From: "manitu" <manitu@xxxxxxxxxx>
- Date: Fri Jan 14 11:57:00 2000
David,
thank you very much. It worked now. I have done some tests and would like to
give a summary to all other users.
If anyone has any questions, please feel free to email me.
Manuel
========================================================================
SUMMARY
In order to manually add further domains pointing to an existing account,
you can include an extra file into the httpd.conf file. Within this extra
file you define virtualhosts as follows
<VirtualHost ip.number.is.here>
ServerName www.seconddomain.com
<Directory /home/sites>
Options +FollowSymLinks
</Directory>
DocumentRoot /home/sites/www.otherdomain.com/web
</VirtualHost>
Please pay attention to include the "Directory" directive into EACH addition
virtual host. Placing one "Directory" directive at the top of the extra file
does NOT work.
You can have the second domain point to other subdirectories, of couse. Just
modify the "DocumentRoot" line.
If needed, you can add further lines found in the httpd.conf, e.g. the
directives for "AliasMatch"(ing) and so far.
========================================================================