Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: URL rewriting and internal links on Apache + Weblogic |
|
Author |
|
ludiegu
Joined: 14 Sep 2015 Posts: 1
|
Posted: Mon 14 Sep '15 11:09 Post subject: URL rewriting and internal links on Apache + Weblogic |
|
|
Hi all, new user here, so please forgive me for any stupid question I make
I have a 2.2 Apache with the weblogic plugin enabled, which it simply redirects all the requests to the application server. Basically, when I call the page Code: | http://myip/blabla/home.page | it is a page resident on the application server. What I need to do is to understand how to perform a couple of things:
- When I ask for http://myip/home.page the Apache should give me the http://myip/blabla/home.page.
- The internal links of the home.page should be with the "blabla" removed.
- When I click on the modified link, the page served should be the http://myip/blabla/linked.page but with the URL rewritten like this: http://myip/linked.page
In my understanding, the mod_rewrite cannot work on the response files which are resident on the application server, also, the mod_substitution seems to don't work as well.
Any help is very appreciated! Thanks! |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7373 Location: Germany, Next to Hamburg
|
Posted: Tue 15 Sep '15 16:15 Post subject: |
|
|
What you want is mod_rewrite it will do the job. |
|
Back to top |
|
|
|
|
|
|