Results 1 to 2 of 2
I'm using mod_proxy to mask some internal website URLs.
Unfortunately, it appears the URL (which I can't change)
uses absolutely URLs for some object references, which
causes a double path ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 05-05-2008 #1Banned
- Join Date
- Dec 2002
- Location
- Texas
- Posts
- 242
Apache URL rewriting task
I'm using mod_proxy to mask some internal website URLs.
Unfortunately, it appears the URL (which I can't change)
uses absolutely URLs for some object references, which
causes a double path situation in the Request URI. Bad.
Possible URLs...
/path/subpath/script.js
/path/path/subpath/script.js
Is there a rewrite rule that I could use that could remove
any double references to /path? I'm sure I can hack this
out eventually, but does anyone know off the top of their
heads so I can get sucker working?
Thanks!
- 05-21-2008 #2Just Joined!
- Join Date
- May 2008
- Posts
- 7
Have you tried:
gedit /etc/httpd/conf/httpd.conf
And add the line:
Alias /js /bla/bla/bla
Then u can use /js/script.js i donnow.


Reply With Quote
