FTPS settings in /etc/proftpd_ispconfig.conf get overwritten
Hello I am a user of ISPConfig,
currently I am using the SVN dev branch version and it works fine.
I wanted to setup FTPS in proftpd like described in this Post: http://www.howtoforge.com/forums/sho...76&postcount=7
and it works fine, but after some time the /etc/proftpd_ispconfig.conf gets overwritten and the TLS Settings are gone -
Is there a way I can prevent this or a way I can make ISPConfig aware of these settings?
Thanks in advance.
jahn
btw: i am using ispconfig on ubuntu 8.04 if that matters..
I found the solution to my problem.
There is a file called /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master, I had to edit.
Its the template ISPConfig uses to rewrite the /etc/proftpd_ispconfig.conf.
This ist how my /root/ispconfig/isp/conf/proftpd_ispconfig.conf.master looks now:
Code:
###################################
#
# ISPConfig proftpd Configuration File
# Version 1.0
#
###################################
DefaultAddress 127.0.0.1
<!-- BEGIN DYNAMIC BLOCK: vhost -->
<VirtualHost {IP}>
DefaultRoot ~
AllowOverwrite on
Umask 002
TLSEngine on
#TLSRequired on
TLSRSACertificateFile /etc/proftpd/cert/proftpd.cert.pem
TLSRSACertificateKeyFile /etc/proftpd/cert/proftpd.key.pem
{ANON_FTP}
</VirtualHost>
<!-- END DYNAMIC BLOCK: vhost -->
The Following User Says Thank You to jahn For This Useful Post:
! little off topic !
This has nothing to do with FTPS, but its also about manual settings in ISPControl generated files, the vhosts.
For example: If you automatically want to add Apache Directives to every created site you can edit this template: /root/ispconfig/isp/conf/vhost.conf.master
You could add an php_admin_value directive or every other directive you want....
Posts: 31,894
Thanks: 693
Thanked 4,189 Times in 3,206 Posts
Dont edit the files in /root/ispconfig/isp/conf/, instead copy the file to /root/ispconfig/isp/conf/customized_templates/ and edit this copy. This prevents that ispconfig removes your changes when you update ispconfig the next time.
Recent comments
4 hours 10 min ago
13 hours 38 min ago
14 hours 28 min ago
18 hours 1 min ago
22 hours 25 min ago
22 hours 47 min ago
1 day 57 min ago
1 day 10 hours ago
1 day 15 hours ago
1 day 17 hours ago