Re: Missing proxy prefix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Mar 1, 2008 at 3:52 AM, Andy Andy <kingdom2dominion@xxxxxxxxxxx> wrote:
>
> here's what I have in the httpd.conf.  The url I used was
> http://apachemachine.com/r/rbs/RBSWebMgr.  rbs/RBSWebMgr is the application
> sitting on the weblogic machine. When the application appears, all the links
> inside the html page are missing the /r in it so that they are just
> http://apachemachine.com/rbs/RBSWebMgr.  Do you have any idea?
>
> LoadModule weblogic_module modules/mod_wl_22.so
>
> <IfModule mod_weblogic.c>
> WebLogicCluster machinename:14059
> MatchExpression *.*
> </IfModule>
>
> ProxyPass /r http://machinename:14059
> ProxyPassReverse /r http://machinename:14059

mod_proxy doesn't change any content, so the links your application
produces are normally not touched. Aparently your application produces
absolute links that are only valid on the weblogic machine itself.

The solutions are:
- Change the configuration of your web application so that it only
produces relative links. This is the best solution for any application
sitting behind a proxy.
- Use mod_proxy_html to filter the response and rewrite the URLs. See
http://apache.webthing.com/mod_proxy_html/. This will be a bit more
work.

Krist



-- 
krist.vanbesien@xxxxxxxxx
krist@xxxxxxxxxxxxx
Bremgarten b. Bern, Switzerland
--
A: It reverses the normal flow of conversation.
Q: What's wrong with top-posting?
A: Top-posting.
Q: What's the biggest scourge on plain text email discussions?

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux