access symlink in ftpd??
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 :-) anyone out there who wants to help me? Cheers! Apache 13 FTPD = The native in Freebsd5 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
access symlink in ftpd??
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 :-) anyone out there who wants to help me? Cheers! Apache 13 FTPD = The native in Freebsd5 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: access symlink in ftpd??
[Format recovered--see http://www.lemis.com/email/email-format.html] Overlong lines. On Friday, 20 June 2003 at 12:44:13 +0200, Andre wrote: On Friday, 20 June 2003 at 12:45:27 +0200, Andre wrote: On Friday, 20 June 2003 at 12:46:56 +0200, Andre wrote: On Friday, 20 June 2003 at 12:46:59 +0200, Andre wrote: Once is enough, and this time is 10 hours in the future. 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 ) ? What's the problem? $ ln -s $documentroot ~ But that's not the real answer. If you're using ftp, you're also transferring your password in the clear. After that, you don't need ssh to access the machine; you've already compromised yourself. I use rsync for this purpose. Here's the beginning of the script: #!/bin/sh # # Synchronize the web sites. # RSYNC_RSH=ssh export RSYNC_RSH echo +++ Transferring grog rsync -Lzav --exclude=RCS --exclude=private --exclude=*~ ~grog/public_html/* website:htdocs/www.lemis.com/grog echo +++ Transferring www.lemis.com cd /usr/local/www/data rsync -zLtuv --exclude=RCS --exclude=*~ --exclude=auug --exclude=bookmarks.html * website:htdocs/www.lemis.com Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
Re: access symlink in ftpd??
On Thursday, June 19, 2003, at 08:50 PM, Greg 'groggy' Lehey wrote: [Format recovered--see http://www.lemis.com/email/email-format.html] Overlong lines. On Friday, 20 June 2003 at 12:44:13 +0200, Andre wrote: On Friday, 20 June 2003 at 12:45:27 +0200, Andre wrote: On Friday, 20 June 2003 at 12:46:56 +0200, Andre wrote: On Friday, 20 June 2003 at 12:46:59 +0200, Andre wrote: Once is enough, and this time is 10 hours in the future. 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 ) ? What's the problem? $ ln -s $documentroot ~ But that's not the real answer. If you're using ftp, you're also transferring your password in the clear. After that, you don't need ssh to access the machine; you've already compromised yourself. I use rsync for this purpose. [snip] But I don't have rsync on my windows machine... Get it (and ssh too) here: http://cygwin.com/ Or better yet, just start using FreeBSD exclusively :-) Cheers, Jerry Hicks [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]