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

From Pin Eight
Jump to: navigation, search
(specify the hostname of the underlying WebFaction server, in case someone wants to grep for webfaction to identify sites needing SNI)
(adding 7z to list of file types per http://forums.nesdev.com/viewtopic.php?f=22&t=10640)
Line 16: Line 16:
 
             to="https://$1pineight.com/mw/" />
 
             to="https://$1pineight.com/mw/" />
  
     <rule from="^http://(www\.)?pineight\.com/(.+)\.(css|gif|jpe?g|js|png|txt|zip)$"
+
     <rule from="^http://(www\.)?pineight\.com/(.+)\.(7z|css|gif|jpe?g|js|png|txt|zip)$"
 
             to="https://$1pineight.com/$2.$3" />
 
             to="https://$1pineight.com/$2.$3" />
  
 
</ruleset>
 
</ruleset>
 
</syntaxhighlight>{{DEFAULTSORT:Pin Eight}}
 
</syntaxhighlight>{{DEFAULTSORT:Pin Eight}}

Revision as of 21:27, 21 December 2013

<!--
    For rules disabled by request of the site owner, see Pin_Eight-experimental.xml.
 
 
    web369.webfaction.com
 
-->
<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/(.+)\.(7z|css|gif|jpe?g|js|png|txt|zip)$"
            to="https://$1pineight.com/$2.$3" />
 
</ruleset>