How to serve .html files from the /siteminderagent/forms folder on Access Gateway
search cancel

How to serve .html files from the /siteminderagent/forms folder on Access Gateway

book

Article ID: 270526

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Agents (SiteMinder) CA Single Sign On Federation (SiteMinder) CA Single Sign On Secure Proxy Server (SiteMinder)

Issue/Introduction

Customer is migrating their custom login.fcc file from an Apache agent to Access Gateway and is unable to stop Access Gateway from trying to proxy the static files (.html files)

Environment

Release : 12.8.07

Cause

The custom login.fcc is calling .html files from the /siteminderagent/forms folder.  On Access Gateway, this folder is meant for the web agent's files, such as .fcc.  Because of this, Apache's mod_jk is sending the requests for these files to Tomcat and thus they are being proxied rather than served from Apache.

Resolution

Add two jkunmount statements for the .html files as follows:
JkUnMount /*/siteminderagent/forms/*.html ajp13
JkUnMount /siteminderagent/forms/*.html  ajp13

These lines will prevent sending the requests for these files to Tomcat. 

To allow Apache to find these files, add the following AliasMatch line to httpd.conf: