[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: HORVATH Ferre <FHORVATH@xxxxxxxxxxxxxxxx>
- Date: Wed Jan 5 10:27:57 2000
you better do
<VirtualHost ip.number.here>
ServerName www.firstdomain.com
ServerAlias www.seconddomain.com
DocumentRoot /home/sites/www.firstdomain.com/web
</VirtualHost>
You can find this at www.apache.org
Regards
Ferre
Ferre Horvath
ISD/IOP/INF/SYB Josi I-0
Tel. 02/745 99 05
Fax. 02/745 70 56
Gsm 0497/14 89 15
E-mail: fhorvath@xxxxxxxxxxxxxxxx
-----Original Message-----
From: manitu [mailto:manitu@xxxxxxxxxx]
Sent: Wednesday 5 January 2000 15:57
To: Cobalt Mailinglist
Subject: [cobalt-users] Using symbolic links in DocumentRoot directive
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