httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krist van Besien <krist.vanbes...@gmail.com>
Subject Re: [users@httpd] how to configure ProxyPass for tomcat for app which generates url at root /
Date Fri, 25 Feb 2011 11:57:28 GMT
On Thu, Feb 24, 2011 at 8:39 AM, James Godrej <jamesgodrej@yahoo.in> 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@gmail.com
krist@vanbesien.org
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message