tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Léa Massiot <>
Subject Re: URL "simplification"
Date Thu, 13 Oct 2011 19:13:58 GMT

Hello and thank you for your answers.
I'm sorry for my late answer but I couldn't work on that issue before.

Here is what I've done in the end:
(I used this document in particular:

1) Here is what I added to "httpd.conf" (Apache configuration file):

LoadModule proxy_module modules/
LoadModule proxy_http_module modules/
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
    Order deny,allow
    Allow from all

ProxyPass /foo/ http://localhost:8080/foo/
ProxyPassReverse /foo/ http://localhost:8080/foo/
<Location /foo>
    Order allow,deny
    Allow from all

2) Here is what I added to "server.xml" (Tomcat configuration file):

<Connector port="8080"

3) Then:
- Start Tomcat.
- Start Apache.

4) In a browser which I run from localhost,
if I type in the following URL:


=> it works.

5) In a browser which I run from another machine on my LAN,
if I type in the following URL:


=> it works too.

6) I'll see tomorrow if it works from the outside...

For now, it's pretty satisfactory to me.

I'm totally sorry but I erased your email by mistake (oups!)

Thank you for the links.
I think the Apache reference guides are very hard to use especially because
most of the time no examples are given.
I tried hard to make the "mod_jk" connector but I failed.

My concern now is the following:
I don't know if the solution described above really slows down the WebApp
and if I should try to find another solution...
Indeed, I read that the solution with "mod_jk" would probably be faster...
Notice that I basically have no static Web pages (only JSPs) in my WebApps
so I don't really need Apache to process any static content instead of

Best regards,
View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message