خرید بک لینک

Vote count: 0

I have a problem with my apache in reverse proxy mode

I want to achieve something and I really don't know how to do it.

I have a web application ruing on the port 8443 and a apache server in reverse proxy mode ruing on the port 443.

The application use the same login form in order to authenticate the users and the administrators.

The url of this page is https://url/ and the user is automatically redirected to https://url/login

But with this application I configured a SAML authentication for the users with Shibboloeth.

Now on the default login page I have the default form (login and password) and a link to reach the SAML authentication URL.

So in fact I have two urls: https://url/login (for the admin access) and https://url/login?auth=shibboleth&url=^U for the users access (SAML SP Initiated URL).

What I want to achieve it's:

The users who reach the url https://url/ are redirected to https://url/login?auth=shibboleth&url=^U And the admin who access to: https://url/admin/ us redirected to https://url/ (so https://url/login)

Here my Apache configuration for the Vhost I use:

#User Access
ProxyPass / https://url:8443/
ProxyPassReverse / https://url:8443/
#Admin Access
ProxyPass "/admin/" https://url:8443/
ProxyPassReverse "/admin/" https://url:8443/

The Admin accees fork but for the user access I have some trouble.

Thanks a lot or your support !

Tube

asked 36 secs ago

برچسب: نویسنده: استخدام کار تاريخ: شنبه 25 ارديبهشت 1395 ساعت: 7:08

صفحه بندی