Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 29254 invoked from network); 17 Feb 2006 17:32:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 17 Feb 2006 17:32:43 -0000 Received: (qmail 63071 invoked by uid 500); 17 Feb 2006 17:32:32 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 63056 invoked by uid 500); 17 Feb 2006 17:32:31 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 63045 invoked by uid 99); 17 Feb 2006 17:32:31 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2006 09:32:31 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [71.148.54.161] (HELO mail.membersonline.org) (71.148.54.161) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 17 Feb 2006 09:32:31 -0800 Received: (qmail 22600 invoked by uid 509); 17 Feb 2006 09:32:04 -0800 Received: from 10.13.1.200 by mail.membersonline.org (envelope-from , uid 520) with qmail-scanner-1.25-st-qms (clamdscan: 0.85.1/1247. spamassassin: 3.0.4. perlscan: 1.25-st-qms. Clear:RC:1(10.13.1.200):. Processed in 0.042166 secs); 17 Feb 2006 17:32:04 -0000 X-Antivirus-MYDOMAIN-Mail-From: nstratton@membersonline.org via mail.membersonline.org X-Antivirus-MYDOMAIN: 1.25-st-qms (Clear:RC:1(10.13.1.200):. Processed in 0.042166 secs Process 22594) Received: from unknown (HELO 1-200.membersonline.local) (10.13.1.200) by mail.membersonline.org with SMTP; 17 Feb 2006 09:32:04 -0800 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C633E8.148E3C16" Date: Fri, 17 Feb 2006 09:32:09 -0800 Message-ID: <2AF84D02BA40F045A11ABCCD77D454D40392CC@1-200.membersonline.local> X-MimeOLE: Produced By Microsoft Exchange V6.5 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Redirect to https based on user ip address Thread-Index: AcYz6BP1H0+yTlnzQb2C4MrIYB340A== From: "Noel Stratton" To: X-Virus-Checked: Checked by ClamAV on apache.org Subject: [users@httpd] Redirect to https based on user ip address X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N ------_=_NextPart_001_01C633E8.148E3C16 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Good Morning, =20 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: =20 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 =20 I was working with the Mod_Rewrite stuff and got it to send it to https, but it did internally and externally. =20 Thank You, Noel Stratton Computer Specialist Members 1st Credit Union=20 =20 ------_=_NextPart_001_01C633E8.148E3C16 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
Good=20 Morning,
 
I = currently have an=20 internal website.  I am now required to let users access the site = outside=20 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=20 network.  However, I now to make it where if the user is inside the = domain=20 the page comes up in http.  When the user is outside of the network = it will=20 make the pages come up in https.  Also authentication should be in=20 https.  Here is my .htaccess file:
 
order=20 deny,allow
deny from all
allow from 10.13.1.
allow from=20 10.13.2.
allow from 10.13.3.
allow from 10.13.4.
satisfy=20 any
AuthName "Members 1st Credit Union Employees Only"
AuthType=20 Kerberos
Krb5Keytab /etc/auth_kerb.keytab
KrbAuthRealm=20 MEMBERSONLINE.LOCAL
KrbMethodNegotiate off
KrbSaveCredentials=20 off
KrbVerifyKDC off
Require valid-user
 
I was = working with=20 the Mod_Rewrite stuff and got it to send it to https, but it did = internally and=20 externally.
 

Thank You,

Noel Stratton
Computer=20 Specialist
Members 1st Credit Union

 
------_=_NextPart_001_01C633E8.148E3C16--