[users@httpd] Redirect to https based on user ip address

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

 

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux