symlinks help!

Daniel Bye dan at slightlystrange.org
Fri Jun 20 02:34:17 PDT 2003


On Fri, Jun 20, 2003 at 12:45:27PM +0200, Andre wrote:
> Hi there people!
> 
> I have setup a FreeBSD box with Mysql,apache+mod_php
> for practical purposes, when i want to update the webpages 
> 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 FreeBSD machine and move the files to the documentroot.
> 
> how do i do a symlink that points to the default ftpddir 
> ( /usr/home/name ) ? 
> 
> I know i can change the documentroot dir to be in my homedir in httpd.conf, but i dont want to do that. 
> 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

-- 
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 / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20030620/6348c145/attachment.bin


More information about the freebsd-questions mailing list