You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Joao Morgado <jo...@widesys.com> on 2011/04/25 18:21:21 UTC

[users@httpd] Redirect from Apache HTTP to Apache Tomcat and SSO

Hi all,

I'm using Apache http to redirect requests to Apache Tomcat. This happens
using mod_jk and mod_auth_sspi (for Single Sign On purpose).

This setup is used to send all requests (for two specific applications) to
Apache Tomcat and because when requests are made to a specific application
(like /app2/) it is sent to Apache Tomcat and it has some Location SSPI
configuration in httpd.conf.

So when I go to URL http://server_name/app1/index.do it opens a page (the
same as if I go directly to Apache Tomcat at
http://server_name:8080/app1/index.do).
If I go to URL http://server_name/app2/index.do it opens the same page I
would get if I go to http://server_name:8080/app2/index.do and with the
bonus that it will sign the application with the windows credentials (using
certificates).

What I would like to do also is to have something like this:

two different URL's:

http://app_1

http://app_2

and they will open the following URL's in Tomcat:

http://server_name:8080/app1/index.do

http://server_name:8080/app2/index.do

respectively. The second URL should also use the auth_sspi instructions to
SSO.

Can anyone give me some lights on this? Could I use VirtualHost forthis
purpose?

Thank you in advance,
João Morgado

-- 
View this message in context: http://old.nabble.com/Redirect-from-Apache-HTTP-to-Apache-Tomcat-and-SSO-tp31471985p31471985.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


[users@httpd] Re: Redirect from Apache HTTP to Apache Tomcat and SSO

Posted by Joao Morgado <jo...@widesys.com>.
Hi,

We have SSO working with mod_jk and mod_auth_sspi.

What we wanted to do was to redirect a specific URL to app1 and another URL
to app2.

We've done this using virtual hosts.

Thank you by your answer anyway.

João



Kevin Smith207 wrote:
> 
> Hello,
> 
> Please follow instruction,
> 
> using Apache http to redirect requests to Apache Tomcat. This happens
> using mod_jk and mod_auth_sspi (for Single Sign On purpose).
> 
> This setup is used to send all requests (for two specific applications) to
> Apache Tomcat and because when requests are made to a specific application
> (like /app2/) it is sent to Apache Tomcat and it has some Location SSPI
> configuration in httpd.conf.
> 
> 
> Regards
> Kevin Thomas
> Attune Infocom Inc
> http://www.attuneinfocom.com
> Email : contact@attuneinfocom.com 
>  http://www.attuneinfocom.com/liferay-portal.html Liferay portlet
> Development 
> 
> 

-- 
View this message in context: http://old.nabble.com/Redirect-from-Apache-HTTP-to-Apache-Tomcat-and-SSO-tp31471985p31559118.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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


[users@httpd] Re: Redirect from Apache HTTP to Apache Tomcat and SSO

Posted by Kevin Smith207 <ke...@gmail.com>.
Hello,

Please follow instruction,

using Apache http to redirect requests to Apache Tomcat. This happens
using mod_jk and mod_auth_sspi (for Single Sign On purpose).

This setup is used to send all requests (for two specific applications) to
Apache Tomcat and because when requests are made to a specific application
(like /app2/) it is sent to Apache Tomcat and it has some Location SSPI
configuration in httpd.conf.


Regards
Kevin Thomas
Attune Infocom Inc
http://www.attuneinfocom.com
Email : contact@attuneinfocom.com 
http://www.attuneinfocom.com/liferay-portal.html Liferay portlet Development 

-- 
View this message in context: http://old.nabble.com/Redirect-from-Apache-HTTP-to-Apache-Tomcat-and-SSO-tp31471985p31557943.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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