Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CSS 11503 equivalent of ProxyPassReverse

Is there a way to change the Location response header on an 11503? This would be the equivalent of an Apache HTTPD ProxyPassReverse directive. The objective is to correct the redirects of backend webservers that are not aware that they are SSL terminated at the CSS.

New Member

Re: CSS 11503 equivalent of ProxyPassReverse

There is an equivalent. From the docs:

Use the ssl-server number urlrewrite command to add a URL rewrite rule to the virtual SSL server to avoid nonsecure HTTP 300-series redirects. This command

instructs the CSS, through the SSL module, to examine every HTTP header field received from the server for a 300-series redirection response (such as 302 Found or 304 Not Modified). If the CSS finds a 300-series return code, it searches the Location Response-Header field in the HTTP header to determine if the field matches the hostname defined in a URL rewrite rule. If there is a match, the CSS rewrites the Location field to contain an HTTPS location and the SSL port for the response.