0

很简单,但不适合我...

在我的 Ubuntu 主机上,我有一个 Geoserver 实例在端口 8080 上侦听:

   http://<hostname>:8080/geoserver

我想要实现的是让客户端通过别名到达 Geoserver:

   http://<hostname>/geoserver

我必须通过 PHP5(没有 Apache 技巧)来做到这一点。

我想我需要的是一个 HTTP PHP 代理。

例子:

#Client asks for  http://<hostname>/geoserver/wms?param1=x&param2=y&param3=z&...
#Proxy intercepts the request
#Proxy asks for http://<hostname>:8080/geoserver/wms?param1=x&param2=y&param3=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

有谁知道一个简单的PHP 库/解决方案来解决这个问题?存在许多解决方案,但到目前为止我还没有找到一个简单的解决方案

谢谢

4

0 回答 0