Hi,
I run into a challenge. I would like to have the http_methods=GET:HEAD
OST
UT
ELETE
ATCH working, but only for a selected single domain.
I now have it working as global by editing /usr/local/directadmin/custombuild/options.conf.
But this means that all user can use it and I would like to limit that to only selected domains.
What we already tried is to go to ADMIN > CUSTOM HTTPD > Select the proper domain and add the following code to CUSTOM3:
It accepts the code, but somehow it won't work voor the selected domain.
What is a correct and save method to get this to work, so I can can disable it in the global code.
Thanx!
I run into a challenge. I would like to have the http_methods=GET:HEAD




I now have it working as global by editing /usr/local/directadmin/custombuild/options.conf.
But this means that all user can use it and I would like to limit that to only selected domains.
What we already tried is to go to ADMIN > CUSTOM HTTPD > Select the proper domain and add the following code to CUSTOM3:
Code:
<Limit GET POST OPTIONS PROPFIND PUT DELETE PATCH>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND PUT DELETE PATCH>
Order deny,allow
Deny from all
</LimitExcept>
It accepts the code, but somehow it won't work voor the selected domain.
What is a correct and save method to get this to work, so I can can disable it in the global code.
Thanx!