![]() |
proFTP config
My Perfect Set up SuSe 10.1 config for proFTP along with ISPConfig seems to be working with one exception... I have 2 sites web14_ and web15_, when I log in as anonymous it shows only the web14_ incoming directory.
When I log in as the assigned users for web14_ and web15_ and their password it goes to their applicable web directory and other misc. directories. I just don't see where in the config files this is occurring. What is proftp using for authentication in Perfect Set Up and ISPConfig set up? I would prefer that the anonymous logging go into proftp alone and not the ISPConfig side. I assume there is probably and adjustment I need to make in the proftp_ispconf.conf(?). Since I have never used proftp (or vsftp) beyond anonymous I am unfamiliar with assigning users and directory rights but if I wanted to consolidate users who have access to different web programs (ISPConfig and Coppermine in my case) would this be what would help do that? ---> Virtual Hosting With Proftpd And MySQL (Incl. Quota) |
Quote:
|
Makes sense... I only want one but I don't want it going to the ISPConfig web15_ user incoming directory. When I log in as anonymous via an ftp client it takes me to the web15_ "root" showing the /incoming directory.
As it stands right now the proftpd_ispconfig.conf file only cites web15_ (see below) even though I also have web14_designated for ftp use. I can however log in with the web15_ or web14 user name and password and get to their directories. That is okay and how it probably should be. I just want anonymous to go to the /srv/ftp and the directories I set up in there. Code:
DefaultAddress 127.0.0.1I only have 2 sites (going for 3) so with web"14", "15" you can see I made a few mistakes setting evrything up. :D I am about to start from scratch with SuSe 10.1 and ISPConfig so hopefully I won't make those mistakes again and maybe it will correct the ftp problems I probably created. |
I reloaded all and it went well... two sites designated as web2_ and web3_. The proftpd_ispconfig.conf looks the same as before except it specifies web2_ now instead of web15_.
What I want to accomplish is that anonymous users get directed to /srv/ftp/ and not /srv/www/web2/ftp/incoming. I just realized (as I was writing this!) maybe I should uncheck the anonymous ftp button for the Clients/Sites in ISPConfig first huh? Will that help? i.e. remove the anonymous logging from proftpd_ispconfig.conf... |
Quote:
Code:
<VirtualHost 192.168.2.5> |
did that restarted proftpd... whats this mean?
Code:
server1:~ # /etc/init.d/proftpd restartCode:
Looking up ftp.latcarfproductions.com |
Quote:
|
Quote:
I figured out it has something to do with the insert for proftpd you gave me above. When I go back to the proftpd.conf we setup in the Perfect Setup SuSe 10.1, I get a normal restart. Also when I copied your insert above into proftpd.conf it still takes me into the ISPConfig FTP directory for "www.latcarfproductions.com" which is also web4. Interesting, it seems when using ISPConfig as admin (prabably as Client also) that the last "Site" given anon ftp access is designated as the default directory if you log in as anon with an ftp client. The lines <Anonymous /srv/ftp> and <Directory /srv/ftp/incoming> had no effect on where the anon login with an ftp client was directed. |
Okay... while it seems to be running and accessable something may still be wrong... when I try to transfer from my XP cp to the ftp site using smartFTP I get this
Code:
[15:44:51] Client closed the connection.Is there something wrong here? I did some googling for some of the codes 200 set type to I, 150, 227, 121, 226... and it seemed most trails eventually led to something to do with MasqueradeAddress although I am not sure I understood it. Both cp's are behind the same firewalled router the and the one I was attempting to transfer to is my server and the one we have been plugging away at the proftpd.conf file in this thread. |
What's the output of
Code:
ls -la /path/to/incoming |
| All times are GMT +2. The time now is 21:35. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.