Quantcast
Viewing all articles
Browse latest Browse all 468

View Debug for specific IPs with Mod_proxy connector enabled?

I’m trying to set up debugging from a single ip .
But it seems that mod_proxy always forwards the requests from 12.0.0.1. so that I can only see the debug info for all clients.
Is there a way to show debugging in the specified IPs in the templates section, as currently they are not honoured, presumbaly Apacheneeds to pass this along, but I thought I have this already inside httpd.conf:

<IfModule mod_proxy.c>
        ProxyPreserveHost On
        ProxyPassMatch ^/(.+\.cf[cm])(/.*)?$ 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/

</IfModule>

In the debugging info:

Time Stamp Mar 5, 2025 10:29 AM
Time Zone Etc/UTC
Locale English (us)
Remote IP 127.0.0.1

*Don't forget to tell us about your stack!*
**OS**: Alama Linux 9
**Java Version**: 21.0.6
**Tomcat Version**: 10.1.36
**Lucee Version**: 6.2.0.321

6 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 468

Trending Articles