[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] Using symbolic links in DocumentRoot directive
- Subject: [cobalt-users] Using symbolic links in DocumentRoot directive
- From: "manitu" <manitu@xxxxxxxxxx>
- Date: Wed Jan 5 06:56:42 2000
Hello,
there was some posts on the topic "How do I have a second domain pointing to
an existing account(virtual site)". Most replies stated to add a VirtualHost
directive into an separate file included in the httpd.conf file. This works
fine for me except for the following.
Here's one of my directives I have added:
<VirtualHost ip.number.here>
ServerName www.seconddomain.com
DocumentRoot /home/sites/www.firstdomain.com/web
</VirtualHost>
The problem is that the DocumentRoot directive does not work when using
http://www.firstdomain.com, only when using the site number, e.g.
DocumentRoot /home/sites/siteX/web. The www.firstdomain.com is a symbolic
link generated by the Cobalt UI and works fine, e.g. via telnet.
I have tried multiple things without any success. For instance I have tried
to add a "Options +FollowSymLinks" directive, no result.
When trying to access the www.seconddomain.com I always get an "403 Access
forbidden" error via http.
Does anybody know how to tell Apache to accept symbolic links here ?
Any help would be appreciated, and I could imagine that there are others on
the list that also are.
Manuel