Maciej Jackowski Member Dec 15, 2019 #1 Dec 15, 2019 #1 Is there a way in OLS to add vhosts or template members via command line or some script / API ? regards
Is there a way in OLS to add vhosts or template members via command line or some script / API ? regards
D David Active Member Dec 15, 2019 #2 Dec 15, 2019 #2 Yes, you can use script to update the server conf file and then restart the service to take affect.
Maciej Jackowski Member Dec 16, 2019 #3 Dec 16, 2019 #3 You mean httpd_config.conf ? What type of config file is this? Lua? Any guidelines, parser, docs about that? I wonder what is the purpose of OLS config files 1.httpd_config.conf0 2.and ending with ,v for example httpd_config.conf0,v regards
You mean httpd_config.conf ? What type of config file is this? Lua? Any guidelines, parser, docs about that? I wonder what is the purpose of OLS config files 1.httpd_config.conf0 2.and ending with ,v for example httpd_config.conf0,v regards
D David Active Member Dec 16, 2019 #4 Dec 16, 2019 #4 It is httpd_config.conf, you can modify it by your script. The *0 and *.v is the backup file and rcs database file.
It is httpd_config.conf, you can modify it by your script. The *0 and *.v is the backup file and rcs database file.
Maciej Jackowski Member Dec 17, 2019 #5 Dec 17, 2019 #5 Thanks it is working httpd_config.conf - what type of config file is this? Lua? Any guidelines, parser, docs about that?
Thanks it is working httpd_config.conf - what type of config file is this? Lua? Any guidelines, parser, docs about that?