Simple, but not for me...
On my Ubuntu host, I have a Geoserver instance listening on port 8080:
http://<hostname>:8080/geoserver
What I want to achieve is to let clients reach Geoserver through an alias:
http://<hostname>/geoserver
and I must do it via PHP5 (no Apache tricks).
I guess what I need is an HTTP PHP Proxy.
Example:
#Client asks for http://<hostname>/geoserver/wms?param1=x¶m2=y¶m3=z&...
#Proxy intercepts the request
#Proxy asks for http://<hostname>:8080/geoserver/wms?param1=x¶m2=y¶m3=z&... (with the same headers and body of the client's original request)
#Geoserver sends response to the Proxy
#Proxy forwards the response - as is - to the client
Does anyone know a simple PHP library/solution to solve this issue? Many solutions exist but I've not been able to find out a simple one, so far
Thank you