Forum Discussion

reen_sc_140631's avatar
reen_sc_140631
Icon for Nimbostratus rankNimbostratus
Feb 11, 2015

ProxyPass absolute paths

Hello Community,

 

how do I handle absolute paths via ProxyPass iRule?

 

external Request: https://www.external.com/wiki/

 

internal Resources are available in the www-Root folder ( "/" )

 

ProxyPass: /wiki/ := / pool_member

 

ProxyPass is working fine to the Backendsystem and some website content is available. However in the page content there are some absolute paths for *.css and *.js files which are not able to load because the next Client GET requests are executed without the subfolder "/wiki"/. In this case the F5 can't find a relationship in the DataGroup (/wiki/).

 

Can I handle this issue with the following setting in the ProxyPass rule?

 

set static::RewriteResponsePayload 0 (set 1 or 2)

 

btw: can't test it because productive enviroment

 

Thanks