Re: Rewrite Conditions & Rules

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

 



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 

        ^/insurance-tips/$ 

while this request has REQUEST_URI of

        /insurance-tips/40/54-front-end-capabilities

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

        ^/insurance-tips

in both sections.


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

cheers
Marty

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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