From owner-freebsd-questions@FreeBSD.ORG Fri Jun 20 02:34:16 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B21CC37B407 for ; Fri, 20 Jun 2003 02:34:16 -0700 (PDT) Received: from catflap.home.slightlystrange.org (pc4-cmbg1-4-cust87.cmbg.cable.ntl.com [80.6.127.87]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8AF2643F85 for ; Fri, 20 Jun 2003 02:34:15 -0700 (PDT) (envelope-from dan@slightlystrange.org) Received: from danielby by catflap.home.slightlystrange.org with local (Exim 3.36 #1) id 19TIHX-00004x-00 for freebsd-questions@freebsd.org; Fri, 20 Jun 2003 10:34:07 +0100 Date: Fri, 20 Jun 2003 10:34:07 +0100 From: Daniel Bye To: freebsd-questions@freebsd.org Message-ID: <20030620093407.GA181@catflap.home.slightlystrange.org> Mail-Followup-To: freebsd-questions@freebsd.org References: <002501c33719$1fddb740$0f00a8c0@yz123nn123zm128> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline In-Reply-To: <002501c33719$1fddb740$0f00a8c0@yz123nn123zm128> User-Agent: Mutt/1.4.1i X-Scanner: exiscan *19TIHX-00004x-00*d7FVhftMqd2* (SlightlyStrange.org, Using NOD32 http://www.nod32.com) Subject: Re: symlinks help! X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: dan@slightlystrange.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2003 09:34:17 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 20, 2003 at 12:45:27PM +0200, Andre wrote: > Hi there people! >=20 > I have setup a FreeBSD box with Mysql,apache+mod_php > for practical purposes, when i want to update the webpages=20 > on the FreeBSD machine i found it very hard to first use FTP > to transfer the pages from my windows machine, and then SSH in to the Fre= eBSD machine and move the files to the documentroot. >=20 > how do i do a symlink that points to the default ftpddir=20 > ( /usr/home/name ) ?=20 >=20 > I know i can change the documentroot dir to be in my homedir in httpd.con= f, but i dont want to do that.=20 > and yes... i have read the man pages, but i guess iam stupid :-) Heh! Just been thinking too hard about it, I suspect. > anyone out there who wants to help me? How about creating a new ftp user whose home directory is the document root for your site? Or better yet, get hold of a copy of WinSCP2, or the PuTTY SCP utility (can't recall its name, but it's on the PuTTY site)? Then you can sack ftp altogether. WinSCP is pretty cool - it's a standalone program and gives you a Norton Commander-like or Explorer-like GUI. I got my Marketing and Sales director using it, no problems! ;-) Dan --=20 Daniel Bye PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+8tUPhvzwOpChvo8RArRhAJ4/G1k4e8qO8vSy0rXC3C4jVdzN5QCg2Fv6 1g7iObvRpQvLD0o6UmvNQiA= =lY0n -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--