2013-03-27 81 views
0

我有兩個ProxyPass僞指令:阿帕奇的ProxyPass和錯誤

ProxyPass /client/ http://10.0.0.8:8080/client/ 
<Location /client/> 
    RequestHeader edit X-GWT-Module-Base ^(.*)/client/(.*)$ $1/client/$2 
</Location> 

ProxyPass/http://10.0.0.8:8080/client/ 
<Location /> 
    RequestHeader edit X-GWT-Module-Base ^(.*)/(.*)$ $1/client/$2 
</Location> 

10.0.0.8正在端口8080上運行的Glassfish和http://10.0.0.8:8080/client/是URL到基於GWT應用程序。 兩個代理的工作都正常,除非涉及到Glassfish方面的錯誤。 如果我通過/ cllient/proxy去,那麼我會看到在Glassfish方面產生的實際錯誤。如果我通過/代理去,那麼我只看到「錯誤500服務器上的呼叫失敗,請參閱服務器日誌」。我試過設置ProxyErrorOverride Off,但它沒有幫助。

爲什麼我沒有通過/ proxy看到錯誤?

回答