Matthew James
Basic Pleskian
Hi,
It seems that whatever you try and set the php_handler_type to for a domain template created through the API, it ignores the setting and sets it to "module".
The request I sent included the following which returned "ok" and the template was created:
<property>
<name>php_handler_type</name>
<value>cgi</value>
</property>
Yet when looking in Plesk or retrieving the details of the template, it shows it set as Apache Module:
<property>
<name>php_handler_type</name>
<value>module</value>
</property>
Also, it seems to ignore the "same_ssl" parameter for setting "Use a single directory for housing SSL and non-SSL content". In fact, it doesn't even report "same_ssl" back as one of the parameters when retrieving info about the template, you can see it's not checked in Plesk for the template though.
Has anybody come across these bugs? If so, do you know of any workarounds?
Thanks
It seems that whatever you try and set the php_handler_type to for a domain template created through the API, it ignores the setting and sets it to "module".
The request I sent included the following which returned "ok" and the template was created:
<property>
<name>php_handler_type</name>
<value>cgi</value>
</property>
Yet when looking in Plesk or retrieving the details of the template, it shows it set as Apache Module:
<property>
<name>php_handler_type</name>
<value>module</value>
</property>
Also, it seems to ignore the "same_ssl" parameter for setting "Use a single directory for housing SSL and non-SSL content". In fact, it doesn't even report "same_ssl" back as one of the parameters when retrieving info about the template, you can see it's not checked in Plesk for the template though.
Has anybody come across these bugs? If so, do you know of any workarounds?
Thanks