Thread: proFTP config
View Single Post
  #5  
Old 23rd September 2006, 17:03
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,748 Times in 2,579 Posts
Default

Quote:
Originally Posted by latcarf
What I want to accomplish is that anonymous users get directed to /srv/ftp/
You can hardcode that into /etc/proftpd.conf, just before /etc/proftpd_ispconfig.conf gets included. Put this into /etc/proftpd.conf:


Code:
<VirtualHost 192.168.2.5>
        DefaultRoot             ~
        AllowOverwrite          on
        Umask                   002
        <Anonymous /srv/ftp>
          User                          web15_anonftp
          Group                         web15_anonftp
          UserAlias                     anonymous web15_anonftp
          UserAlias                     guest web15_anonftp
          MaxClients                    10
          <Directory *>
            <Limit WRITE>
              DenyAll
            </Limit>
          </Directory>
          <Directory /srv/ftp/incoming>
            Umask                       002
            <Limit STOR>
              AllowAll
            </Limit>
            <Limit READ>
              DenyAll
            </Limit>
          </Directory>
        </Anonymous>
</VirtualHost>
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote