[Proftpd-user] VirtualHost Login Works, LIST hangs
I have server setup. Below is my conf, but first my problem.
As you will see in the conf I have two VirtualHosts setup, domain1 and
domain2. Each has a user (user2) that logs into the server via
ftp [url]www.domain1.com[/url] 4000
and
ftp [url]www.domain2.com[/url] 40001
When connected to domain1 all works fine. When connecting to domain2
authorization works, but then the command LS causes the server to
respond "200" and hang.
Any thoughts why?
My Conf:
--------------------------------------------------------------------------------
ServerName "ProFTPD"
ServerType standalone
DefaultServer on
Port 21
Umask 022
MaxInstances 30
User nobody
#Group nogroup
<Directory /opt/lampp/htdocs/*>
AllowOverwrite on
</Directory>
DefaultRoot /opt/lampp/htdocs
UserPassword nobody 0fD8W5MAxPkfI
RequireValidShell off
UseFtpUsers off
#include /opt/lampp/etc/ftp.hosts/ftp.includes
#### Domain1 ####
<VirtualHost [url]www.domain1.com[/url] ftp.domain1.com>
DefaultRoot /opt/lampp/htdocs/domain1.com
AllowOverwrite on
<Limit LOGIN>
AllowUser user2
DenyAll
</Limit>
</VirtualHost>
#### Domain2.com ####
<VirtualHost [url]www.domain2.com[/url] ftp.domain2.com>
DefaultRoot /opt/lampp/htdocs/domain2.com
Port 4001
AllowOverwrite on
<Limit LOGIN>
AllowUser user1 user2
DenyAll
</Limit>
</VirtualHost>
--------------------------------------------------------------
THANKS!!!
--
Adam Barrett
[email]dragen@gmail.com[/email]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
[url]http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/[/url]
_______________________________________________
ProFTPD Users List <proftpd-users@proftpd.org>
Unsubscribe problems?
[url]http://www.proftpd.org/list-unsub.html[/url]