Difference between revisions of "User:Eighty5cacao/misc/HTTPS Everywhere/rulewip/Pin Eight"

From Pin Eight
Jump to: navigation, search
(whoops ... this isn't exactly a copypaste so bear with me)
(forgot scripts)
(One intermediate revision by the same user not shown)
Line 12: Line 12:
 
     <rule from="^http://(www\.)?pineight\.com/mw/"
 
     <rule from="^http://(www\.)?pineight\.com/mw/"
 
             to="https://$1pineight.com/mw/" />
 
             to="https://$1pineight.com/mw/" />
 +
 +
    <rule from="^http://(www\.)?pineight\.com/(.+)\.(css|gif|jpe?g|js|png|txt|zip)$"
 +
            to="https://$1pineight.com/$2.$3" />
 +
 
</ruleset>
 
</ruleset>
 
</syntaxhighlight>{{DEFAULTSORT:Pin Eight}}
 
</syntaxhighlight>{{DEFAULTSORT:Pin Eight}}

Revision as of 20:54, 23 May 2013

<!--
    For rules disabled by request of the site owner, see Pin_Eight-experimental.xml.

-->
<ruleset name="Pin Eight (partial)">
    <target host="pineight.com" />
    <target host="www.pineight.com" />

    <securecookie host="^(?:www\.)?pineight\.com$" name=".*" />

    <rule from="^http://(www\.)?pineight\.com/mw/"
            to="https://$1pineight.com/mw/" />

    <rule from="^http://(www\.)?pineight\.com/(.+)\.(css|gif|jpe?g|js|png|txt|zip)$"
            to="https://$1pineight.com/$2.$3" />

</ruleset>