[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Using symbolic links in DocumentRoot directive
I could be wrong (see the FAQ's on http://www.apache.org) but I'm
virtually certain you can't.
Apache wants the REAL path. I'm not quite sure why it's so fussy, but it's
probably a security thing. After all symlinks can change to other
locations with or without root etc so maybe it's designed to stop that
from happening.
--Neil
On Wed, 5 Jan 2000, manitu wrote:
> 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
>
>
>
>
>
> _______________________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> http://list.cobalt.com/mailman/listinfo/cobalt-users
>