When I hit a https page on my server, the cgi variables all reference it as
a regular http request. The request_url is back to http and the https
variable is empty/ Is this normal? I have a standard installation, but I
added the RemoteIpFilter to web.xml in order to get proper remote
addresses.
The code I used to add that was:
<filter>
<filter-name>RemoteIpFilter</filter-name>
<filter-class>org.apache.catalina.filters.RemoteIpFilter
</filter-class>
<init-param>
<param-name>protocolHeader</param-name>
<param-value>x-forwarded-proto</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>RemoteIpFilter</filter-name>
<url-pattern>/*</url-pattern>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
Any suggestions?