mitre / HTTP-Proxy-Servlet

Smiley's HTTP Proxy implemented as a Java servlet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to solve the static resource loading problem of the target server when the target path is dynamic proxy

ziqingkeshi opened this issue · comments

Hello,
I have a requirement that dynamically generated according to a parameter in the request path , Luckily I have done it. But the problem now is when my interception rule :'/proxy/*', target_url :'https://www.example.com/', I can access the homepage normally, but the static resources of the relative path loaded on the homepage ,such as js, css, img are all 404, because these resources requests initiated by them do not carry'/proxy/', so they cannot be intercepted by my server and proxied, what should I do, if you can reply as soon as possible, I will be very grateful!