Add warnings when people attempt to download deprecated versions.
[htmlpurifier-web.git] / .htaccess.in
blob3c1763b5a57137d4c5b902d957d21a1f15cc84c4
1 # HERE xhtml-compiler/main.php mod_rewrite\r
2 \r
3 # Old release warning rewrites\r
4 RewriteCond %{REQUEST_METHOD} !=POST\r
5 RewriteCond %{REQUEST_URI} !/htmlpurifier-3\.1\.0rc1(\.|-standalone|-lite)\r
6 RewriteCond %{REQUEST_URI} !/htmlpurifier-2\.1\.3(\.|-standalone|-lite|-strict)\r
7 RewriteCond %{REQUEST_URI} !/phorum-htmlpurifier-3\.0\.0\.\r
8 RewriteCond %{REQUEST_URI} !\.sig$\r
9 RewriteRule ^releases/(htmlpurifier-|phorum-) releases/warning.html [N]\r