I have multiple remote systems that need to determine their public IPs, and I would like to use an internet-facing server running httpd 2.2 to return their remote addresses to them.
While this would be trivial if the httpd server was running PHP or similar, I would like to avoid needing extra server-side processing if httpd and its modules can be configured to get this information.
Is there some way to configure httpd to return the remote address? Maybe have a special URL that gets rewritten somehow? If it matters, the remote systems are running linux and would likely use wget which could print the information from the headers.