Apache代理服务器 – 希望一个简单的修复

我在使用我的代理服务器redirect的服务器中的相对目录时遇到问题。

让我们打电话给我的顶级服务器,提供代理“代理”,和第一个子服务器“客户端1”。

代理设置为redirect/客户端1到本地主机:81 /客户端1(这工作正常)

Client1具有以下目录结构:

/srv/www/ /client1 (The root dir for the server) /system /3rdparty /client1 (Redirect to this dir) - test.php (This renders) 

我有的问题是,在test.php我使用../system/somefile../3rdparty/jquery.js 。 这些未能解决。

例:

 - navigate to `www.example.com/client1` (test.php loads) - test.php loads - check console see errors: `www.example.com/system/somefile` cannot be found (404) 

有谁知道我需要做什么,以便将../传递给Client1服务器,而不是在代理服务器上进行评估?

我的代理传递设置:

 LoadModule proxy_module /usr/lib64/apache2-prefork/mod_proxy.so LoadModule proxy_http_module /usr/lib64/apache2-prefork/mod_proxy_http.so ProxyRequests Off ProxyPreserveHost On SSLProxyEngine On SSLProxyCheckPeerCN off SSLProxyCheckPeerName off SSLProxyCheckPeerExpire off <Proxy *> Order deny,allow Allow from all </Proxy> # INSTANCE v01 for client1 ProxyPass /client1 https://localhost:81/client1 ProxyPassReverse /client1 https://localhost:81/client1 

谢谢。

../由您的浏览器评估,而不是由服务器评估。