Re: how to configure ProxyPass for tomcat for app which generates url at root /

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

 



On Thu, Feb 24, 2011 at 8:39 AM, James Godrej <jamesgodrej@xxxxxxxx> wrote:

> Let me know if some one has some suggestion for this part.

Firstly: Have you correctly configured mod_jk? Do you have a mod_jk
log file? What is in it? What is in your error log?

Secondlyl: If in ProxyPass the LHS ends in a / the RHS must end in a
slash too. But better not use slash at all:
ProxyPass /sakai ajp://192.168.1.14:8009

And have a look at what links your application generates. ProxyPass
and ProxyPassReverse do not change anything in the content of the html
returned by the app. You can use mod_proxyhtml to mangle the html for
you, but a better solution is to make your application aware of the
fact that it is behind a proxy.
Look at the documentation of the application and see if there is a
configuration setting to define the base URL, and set that to
http://research.openitup.in/sakai

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