Advertisement

04.29.2008 at 08:54PM PDT, ID: 23364368
[x]
Attachment Details

.htaccess Force HTTPS for specific files maybe folders.

Asked by Defibber in Apache Web Server

Tags: , ,

Ok, I had seen this post:

http://www.experts-exchange.com/Software/Server_Software/Web_Servers/Apache/Q_22122280.html

But I am looking for something slightly different.  I tried a couple of variations with no luck.  I have been searching and have seen several answers close but no cigar.  I want to redirect several pages spread throughout the site to use https but not all of them need to be secured.  Here is a few of examples of specific files (they are not uploaded yet, I want to get this right first before I upload and replace the existing site):

/login.php
/members/update_user.php (and a couple of others, but not all of the ones in this folder NEEDS to be secured)
/members/admin/.update_user.php
/dispatch/add_contacts.php

and so on.  I had seen where using a blanket type approach of https may slow the works some.  granted there isn't a lot of traffic but it might later.Start Free Trial
Related Solutions: .htaccess Force HTTPS
[+][-]04.29.2008 at 10:59PM PDT, ID: 21468370

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 04:52AM PDT, ID: 21469771

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 05:04AM PDT, ID: 21469838

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Apache Web Server
Tags: force, htaccess, https
Sign Up Now!
Solution Provided By: ravenpl
Participating Experts: 1
Solution Grade: B
 
 
[+][-]04.30.2008 at 09:33AM PDT, ID: 21472287

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 11:49AM PDT, ID: 21473497

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.30.2008 at 07:32PM PDT, ID: 21476183

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208