5angle.com
05-03-2002, 06:35 AM
I've searched but have been unable to figure out how to have the public html directory show up in the root anonymous ftp directory.
Background:
Ensim
ProFTPd
NameBased Site
html docs in site/var/www/html
anonymous ftp root is site/var/ftp
An anonymous user logs into the machine with username/pass of anonymous@site and is dumped in site/var/ftp. So I removed /var/ftp/pub and made a symbolic link:
pub -> site/var/www/html
I chown to be root/root like the previous /var/ftp/pub but when i login anonymously the symbolic link still doesn't reference. In fact, it doesn't show up in the ftp client at all. What can I do to get around this ? Do i have to put the contents of /var/www/html into /var/ftp/pub and do a sybmolic link:
html -> site/var/ftp/pub
? ? ?
I've got a user that has over 3GB of mp3 dj sets and they need them accessible by both HTTP and anon FTP.
Thanks for any help on this. If this is a total newbie question, well the nomenclature under my handle is most appropriate ;)
Background:
Ensim
ProFTPd
NameBased Site
html docs in site/var/www/html
anonymous ftp root is site/var/ftp
An anonymous user logs into the machine with username/pass of anonymous@site and is dumped in site/var/ftp. So I removed /var/ftp/pub and made a symbolic link:
pub -> site/var/www/html
I chown to be root/root like the previous /var/ftp/pub but when i login anonymously the symbolic link still doesn't reference. In fact, it doesn't show up in the ftp client at all. What can I do to get around this ? Do i have to put the contents of /var/www/html into /var/ftp/pub and do a sybmolic link:
html -> site/var/ftp/pub
? ? ?
I've got a user that has over 3GB of mp3 dj sets and they need them accessible by both HTTP and anon FTP.
Thanks for any help on this. If this is a total newbie question, well the nomenclature under my handle is most appropriate ;)
