httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Noel Stratton" <nstrat...@membersonline.org>
Subject [users@httpd] Redirect to https based on user ip address
Date Fri, 17 Feb 2006 17:32:09 GMT
Good Morning,
 
I currently have an internal website.  I am now required to let users
access the site outside of internal network.  I have got it working so
that it will require authentication to an active directory domain when
the user is outside of my network.  However, I now to make it where if
the user is inside the domain the page comes up in http.  When the user
is outside of the network it will make the pages come up in https.  Also
authentication should be in https.  Here is my .htaccess file:
 
order deny,allow
deny from all
allow from 10.13.1.
allow from 10.13.2.
allow from 10.13.3.
allow from 10.13.4.
satisfy any
AuthName "Members 1st Credit Union Employees Only"
AuthType Kerberos
Krb5Keytab /etc/auth_kerb.keytab
KrbAuthRealm MEMBERSONLINE.LOCAL
KrbMethodNegotiate off
KrbSaveCredentials off
KrbVerifyKDC off
Require valid-user
 
I was working with the Mod_Rewrite stuff and got it to send it to https,
but it did internally and externally.
 

Thank You,

Noel Stratton
Computer Specialist
Members 1st Credit Union 

 

Mime
View raw message