Restrict HTTP method for SPS

Document ID : KB000100119
Last Modified Date : 05/06/2018
Show Technical Document Details
Question:
Question how to restrict HTTP method accepted in Secure Proxy Server/CA Access Gateway.
Answer:
In Apache configuration file (httpd.conf), Include mod_allowmethods.so module and add Location directive authorized HTTP method .

1. Add following content

Example:
LoadModule allowmethods_module modules/mod_allowmethods.so

<Location "/">
   AllowMethods GET POST OPTIONS
</Location>


2. Restart CA Access Gateway
Additional Information:
Apache Module mod_allowmethods
https://httpd.apache.org/docs/2.4/mod/mod_allowmethods.html