Brad
1
I thought ProxyPreserveHost On would allow Lucee to see the original IP but
CGI.REMOTE_ADDR is always 127.0.0.1… Is there a way to do what I want or?
Allow from 127.0.0.1
ProxyPreserveHost On
ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfchart)(/.*)?$ http://127.0.0.1:8888/$1$2
ProxyPassMatch ^/(.+\.cfml)(/.*)?$ http://127.0.0.1:8888/$1$2
# optional mappings
#ProxyPassMatch ^/flex2gateway/(.*)$
http://127.0.0.1:8888/flex2gateway/$1
#ProxyPassMatch ^/messagebroker/(.*)$
http://127.0.0.1:8888/messagebroker/$1
#ProxyPassMatch ^/flashservices/gateway(.*)$
http://127.0.0.1:8888/flashservices/gateway$1
#ProxyPassMatch ^/openamf/gateway/(.*)$
http://127.0.0.1:8888/openamf/gateway/$1
#ProxyPassMatch ^/rest/(.*)$ http://127.0.0.1:8888/rest/$1
ProxyPassReverse / http://127.0.0.1:8888/
Based on https://groups.google.com/d/msg/railo/U9TSv3L4j94/ASz-2JQD29wJ in
…tomcat/conf/web.xml add
RemoteIpFilter
org.apache.catalina.filters.RemoteIpFilter
RemoteIpFilter
/*
REQUEST
Brad
3
Thanks a ton, I did search, not sure how I missed that…On Monday, August 24, 2015 at 3:33:06 AM UTC-5, Tom Chiverton wrote:
Based on https://groups.google.com/d/msg/railo/U9TSv3L4j94/ASz-2JQD29wJ
in …tomcat/conf/web.xml add
RemoteIpFilter
org.apache.catalina.filters.RemoteIpFilter
RemoteIpFilter
/*
REQUEST