httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Barry <>
Subject Re: [users@httpd] Rewrite Conditions & Rules
Date Fri, 04 Mar 2011 07:46:46 GMT
Hi Ian

$quoted_author = "Ian Stradling" ;
> Here is what I've gleaned from the log I started.  FYI, I clicked on a
> link within the website that is supposed to go to ../insurance-tips/
> Anything related to /insurance-tips, /add-a-tip, /home, and / are supposed
> to NOT be HTTPS...yet, whenever I click on the 'insurance-tips' link, it
> comes up as HTTPS.

Your patterns both specify 


while this request has REQUEST_URI of


which clearly doesn't match and hence the redirect is from HTTP to HTTPS.

If you want everything in that directory to be HTTP only then I think the
regex you need to use is


in both sections.

You could also reduce the verbosity of your second section by using [OR] on
the RewriteCond lines with a single RewriteRule.


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message