Custom proftpd.vhosts.conf template

Webcart

Verified User
Joined
Jan 14, 2004
Messages
398
Hello,

We are experimenting with SFTP support in ProFTPD and need some help with proftpd.vhosts.conf template, specifically:

1. It looks like template tokens such as |USER|, |DOMAIN|, |*if | which are available in Apache templates do not work in proftpd.vhosts.conf template's context. Is there a way to get them working? May be they are available under different names or could be imported with something like `USER`, `DOMAIN`.

2. Is there a way to rewrite /etc/proftpd.vhosts.conf similar to httpd.conf rewrite
echo "action=rewrite&value=httpd" >> /usr/local/directadmin/data/task.queue
/usr/local/directadmin/dataskq d
I've tried
echo "action=rewrite&value=ftp" >> /usr/local/directadmin/data/task.queue
echo "action=rewrite&value=ftpd" >> /usr/local/directadmin/data/task.queue
echo "action=rewrite&value=proftpd" >> /usr/local/directadmin/data/task.queue
without much results.

Thank you.
 
Back
Top