Hi everyone

here is my /etc/proftpd.conf

the server wors fine but the virtualhost don't let me list when I connect.

Can someone tell me what's wrong with my virtual configuration ?


thanks a lot


















# This is a basic ProFTPD configuration file (rename it to
DisplayConnect /etc/issue.net
# 'proftpd.conf' for actual use. It establishes a single server
# and a single anonymous login. It assumes that you have a user/group
# "nobody" and "ftp" for normal operation and anon.

ServerName "ProFTPD"
AuthUserFile /etc/proftpd/passwd.vhosts
LogFormat BytesLog "%b"
ServerType standalone
DeferWelcome on
DefaultServer on
DefaultRoot ~ !wheel

# Port 21 is the standard FTP port.


TLSEngine on
TLSProtocol TLSv1
TLSRequired off
TLSRSACertificateFile /etc/ftpd-rsa.pem
TLSRSACertificateKeyFile /etc/ftpd-rsa-key.pem
TLSVerifyClient off

Port 21
# Umask 022 is a good standard umask to prevent new dirs and files
# from being group and world writable.
Umask 022

# Set the user and group that the server normally runs at.
User nobody
Group proftpd

# Normally, we want files to be overwriteable.

AllowOverwrite on


# A basic anonymous configuration, no upload directories.


DenyAll

UseFtpUsers on
RequireValidShell off

User ftp
Group ftp
# We want clients to be able to login with "anonymous" as well as "ftp"
UserAlias anonymous ftp


AllowAll

# Limit the maximum number of anonymous logins
MaxClients 10

# We want 'welcome.msg' displayed at login, and '.message' displayed
# in each newly chdired directory.
DisplayLogin welcome.msg
DisplayFirstChdir .message

# Limit WRITE everywhere in the anonymous chroot

DenyAll





TransferRate RETR 50000
TransferRate STOR 50000
TransferRate STOU 50000
TransferRate APPE 50000
AllowStoreRestart on
AllowForeignAddress on
AccessDenyMsg " %u not authorized to connect "
AccessGrantMsg " Welcome %u "





ServerName "test"
Port 1337
Umask 027
DefaultRoot /home/kingpric
User kingpric
Group kingpric



AllowAll



AllowAll



User ftp
Group ftp
UserAlias anonymous ftp


DenyAll



DenyAll




AllowAll