httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Szász Csaba <>
Subject [users@httpd] Proxy pass vs Redirect vs JkMount
Date Mon, 22 Nov 2010 12:27:26 GMT
Hi @ll,

I have a little issue on one Apache/2.0.52 server. The problem is that
there were some applications which were served by a Tomcat connector
(with jk_mod).
After this we had to implement a new ProxyPass to point "/" to a
Windows IIS SharePoint server.

The SharePoint server use HTTP authentication. The problem is occurred
when the user first visit and authenticate on https://localhost then
navigate to another application https://localhost/app1  (one which
served by Tomcat) they get an HTTP 401 code.

I assume that the browsers forward the authentication credentials to
the Tomcat server which cannot interpret it.

Current configuration ( -> apache server, ->
SharePoint server)

HTTP Virtulal host config:

  ProxyPass /app1 !
  RedirectPermanent /app1

  ProxyPass /app2 !
  RedirectPermanent /app2

  ProxyPass /app3
  ProxyPassReverse /app3

  RedirectPermanent /


HTTPS Virtual host config:

  ProxyPass /app1 !
  JkMount /app1 app1
  JkMount /app1/* app1

  ProxyPass /app2 !
  JkMount /app2 app2
  JkMount /app2/* app2

  ProxyPass /app3
  ProxyPassReverse /app3

  ProxyPass /
  ProxyPassReverse /


As a solution we want to separate this configurations. One part would
be dedicated only for the SharePoint server =>, and the
other one would serve the Tomcat applications and redirect everything
else to

What I don't know is how should I configure a redirect to serve all
/app1 & /app2 & /app3, but redirect all other request to the other
Virtual Host which take care about the SharePoint.
Basicly I don't know which directive is the "stronger" ProxyPass or
Redirect or JkMount

In the above mentioned config I would modify the:
   ProxyPass /
   ProxyPassReverse /
lines to:
   RedirectPermanent /

but I fear that this Redirect would override all the other application

All tips are warmly welcome!

Thanks in advance!

Üdvözlettel / Best Regards / Mit freundlichen Grüßen

  ()()      (\__/)     (\__/)
 ( '.' )     (O.o )    (='.'=)
(")_(")    (> < )    (")_(")

These are three Bunnies.
Copy Bunnies into your signature to help them on theirs way to world domination!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message