From owner-freebsd-questions Fri Oct 12 12:49: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from tomts12-srv.bellnexxia.net (tomts12.bellnexxia.net [209.226.175.56]) by hub.freebsd.org (Postfix) with ESMTP id CBF3537B408 for ; Fri, 12 Oct 2001 12:49:00 -0700 (PDT) Received: from xena.gsicomp.on.ca ([65.93.39.114]) by tomts12-srv.bellnexxia.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20011012194854.MXGR10438.tomts12-srv.bellnexxia.net@xena.gsicomp.on.ca>; Fri, 12 Oct 2001 15:48:54 -0400 Received: from localhost (matt@localhost) by xena.gsicomp.on.ca (8.11.1/8.11.1) with ESMTP id f9CJegU03731; Fri, 12 Oct 2001 15:40:42 -0400 (EDT) (envelope-from matt@xena.gsicomp.on.ca) Date: Fri, 12 Oct 2001 15:40:41 -0400 (EDT) From: Matthew Emmerton To: "Gerald T. Freymann" Cc: A N Cameron , free bsd Subject: Re: Apache Question In-Reply-To: <012001c15356$8f4ac760$0f01a8c0@phantom> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG But symlinking out of your DocumentRoot (which is presumably /home/user/web/htdocs) is a BIG security hole. You'll have to turn on Options AllowSymLinks for that to work, too. -- Matthew Emmerton || matt@gsicomp.on.ca GSI Computer Services || http://www.gsicomp.on.ca On Fri, 12 Oct 2001, Gerald T. Freymann wrote: > You create a symbolic link > > ln -s /home/user/web/phpshop /home/user/web/htdocs/phpshop > > or is that the other way around? hee hee. > > ln -s /home/user/web/htdocs/phpshop /home/user/web/phpshop > > gf. > > ----- Original Message ----- > From: "A N Cameron" > To: "free bsd" > Sent: Friday, October 12, 2001 3:19 PM > Subject: Apache Question > > > Ok Got a problem;) I need to do a directory alias and I'm not sure what to > put in the command line heres what I need to do: > > I need theb browser pointing to > > http://yourdomain.com/phpshop > > to point to: > /home/user/web/phpshop > > NOT > /home/user/web/httpdocs/phpshop > > Any one know how to do this? > I thought it was just Directory Alias but I gues not;) > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message