Gerald Waugh wrote:
> Hi Blues,
>
> I have a client using dreamweaver and he is not able to configure
> Dreamweaver to access the sites main web directory.
> I tried to help him, but seems as though he was unable to get from the
> siteadmin users directory to the sites main web directory.
>
> Any ideas on what I might tell him
>
> Gerald
There is a MUCH easier way to deal with this.
I do a lot of tweaks when I setup a new BQ server. Step 32 is as follows:
Change /usr/sausalito/handlers/base/ftp/config_ftp_site.pl to have ftp login
to site folder.
and add the third line below the other 2 shown.
DefaultRoot ~ !$Base::Vsite::SITE_ADMIN_GROUP
AllowOverwrite on
DefaultChdir /web # new added
service xinetd restart
The DefaultChdir part makes it so when a site admin logs in the SERVER
automatically changes them to the correct web folder.
For IPs that are already set on your server you will need to edit
/etc/proftpd.conf and make each ip entry look like the following: (the line
"DefaultChdir /web" is added)
<VirtualHost XXX.XXX.XXX.XXX>
DefaultRoot / wheel
DefaultRoot / admin-users
DefaultRoot ~/../../.. site-adm
DefaultRoot ~ !site-adm
AllowOverwrite on
DefaultChdir /web
DisplayLogin .ftphelp
</VirtualHost>
I hope that helps someone.
________________________________
Michael Aronoff - West Hills, CA