Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

107
Views
Apache reverse proxy rewriting js file

Assuming I have an apache server that I use for reverse proxy on multiple applications with the following config:

<LocationMatch "/[a-f0-9]{8}/applicationA.*">
RewriteEngine On
RewriteRule "/[a-f0-9]{8}/applicationA(.*)" "https://applicationA.com/index.html?someParameters" [P]
ProxyAddHeaders off
</LocationMatch>

I would have something similar for applicationB etc.

The issue is, one of the application needs to have js rewritting too, because if my host is https://foo.bar and I try https://applicationB.com/123/applicationB I'm having issue getting applicationB working because the js it is using are requested as https://foo.bar/js/js1.js instead of https://applicationB.com/js/js1.js

How can I say that every js file requested to the proxy server need to re-write too ?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!