[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Symbolic Link from web to user/web directory
- Subject: Re: [cobalt-users] Symbolic Link from web to user/web directory
- From: flash22@xxxxxxx
- Date: Mon Jan 22 22:13:37 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
On Mon, 22 Jan 2001, Step Firth wrote:
> Hello, I have got rather muddled.
> I then made a symbolic link (directory to directory) so the original url still works...
> from /home/sites/www.domain.com
> ln -s users/user1/web/project web/project
Try to avoid making symlinks from directories you are no tin, using
relative paths like this when you aren't actully in the target directory
makes a symlink that is different that what you expect..
If you made it correctly you should be able to cd to the correct place
using the symlink....
The other detail is ytou need ot tell the web server it's ok to follow a
symlink that points somewhere outside the documentroot, it won't do this
by default..
create .htaccess in web/ for main site and in it add
Options +FollowSymLinks
That should make everything happy...