HTTP Trace Method in Access Gateway

smsps configuration wizard provides the option to either enable or disable HTTP Trace method at smsps. 
casso1283
Access Gateway
 configuration wizard provides the option to either enable or disable HTTP Trace method at
Access Gateway
Default Behavior of Access Gateway
Access Gateway
 returns HTTP Method 405 when the
TraceFlag
is either on or off as it does not load mod_proxy or mod_rewrite modules which act on HTTP Trace method. 
Access Gateway
 returns the following HTTP response code:
405 Method Not Allowed
Apache HTTP Server Behavior
Access Gateway
 internally uses Apache HTTPD Server for request processing. Behavior of the Apache Web Server for a specific HTTP Trace method depends on the modules loaded. Each module loaded into Apache requires the Hook Parameter which decides the precedence of receiving the request. If the Hook parameter is of the same order for two different modules, then the order of modules placed in the httpd.conf takes precedence.
Example
SiteMinder
 Web Agent module for Apache also gets loaded under the context of httpd server and controls actions such as showing page (http method 200), redirecting (http method 302), challenging the user (http method 401), and server error for XSS attacks (http method 500). Access Gateway not only ships all the modules but also loads only a minimum set and allows customization to load other modules in httpd.conf.
Working with HTTP Trace Method in 
Access Gateway
To allow HTTP Trace method in access gateway, follow the process below:
Follow these steps:
  1. Navigate to secure-proxy\httpd\conf\ and open httpd.conf file.
  2. Add the proxy entry "LoadModule proxy_module modules/mod_proxy.so" into the httpd.conf file above the following lines:
    <IfDefine SSL>
    LoadModule ssl_module modules/mod_ssl.so
    LoadModule socache_shmcb_module modules/mod_socache_shmcb.so
    </IfDefine>
Testing Trace Method
Check for the output with the following trace flows:
  1. When you test Trace method using curl or any other tool with proxy_module and TraceEnable on in httpd.conf file, you receive the following HTTP response output:
    200 OK
  2. When you test Trace method using curl or any other tool with proxy_module and TraceEnable off in httpd.conf file, you receive the following HTTP response output:
    405 OK