[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [cobalt-users] Default FTP on Raq 550
- Subject: RE: [cobalt-users] Default FTP on Raq 550
- From: Harvey Raybould <harvey@xxxxxxxxxxx>
- Date: Mon Jul 22 04:19:02 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
Hi,
> Why not set the default ftp directory in your FTP client?
Unfortunately not all clients read the instructions fully, and they end
up
uploading their sites to the wrong area.
Just incase anyone needs this information, this appears to be the file
on
the Raq 550 that needs changing
/usr/sausalito/handlers/base/ftp/config_ftp_site.pl
I changed it form this:
<VirtualHost $ftp_site->{ipaddr}>
DefaultRoot / wheel
DefaultRoot / $Base::Vsite::SERVER_ADMIN_GROUP
DefaultRoot ~/../../..
$Base::Vsite::SITE_ADMIN_GROUP
DefaultRoot ~ !$Base::Vsite::SITE_ADMIN_GROUP
AllowOverwrite on
DisplayLogin .ftphelp
END
To this: You will need to add a virtual site in the GUI, so that it
rewrites
the /etc/proftpd.conf file. The site can be deleted later.
<VirtualHost $ftp_site->{ipaddr}>
MaxLoginAttempts 3
ServerName "FTP"
ServerIdent on "FTP Server ready."
DeferWelcome on
AllowStoreRestart on
DefaultRoot / wheel
DefaultRoot / $Base::Vsite::SERVER_ADMIN_GROUP
DefaultRoot ~/../../../web
$Base::Vsite::SITE_ADMIN_GROUP
DefaultRoot ~/web !$Base::Vsite::SITE_ADMIN_GROUP
AllowOverwrite on
DisplayLogin .ftphelp
END
_______________________________________________
Regards
Harvey
> >Hi,
> >
> >On the Raq 3s and 4s, I used to be able to change the default
> >FTP directory by making simple modifications to the Ftp.pm file.
> >
> >I have just bought a 550, and the relevant file is not in the same
> >position. Has anyone modified the default Ftp directory on the 550
> >so that it logs into the main web directory and not the users?
> >
> >Thanks in advance.
> >
> >Harvey
>
> Why not set the default ftp directory in your FTP client?
>
> - Bill
>
> ---------------------------------
> William J.A. Brillinger
> Precision Design Co.
>
> E-Mail: mailto:billy@xxxxxxxxxx
> Web site: http://www.pdcweb.net
>