Update live to v3.1.1.2, due to empty directory bug.
[htmlpurifier-web.git] / .htaccess.in
blob2c6f64264bc7ae2894461bb6a8958d3d4b6d485a
1 # HERE xhtml-compiler/main.php mod_rewrite
3 # Old release warning rewrites
4 RewriteCond %{REQUEST_METHOD} !=POST
5 RewriteCond %{REQUEST_URI} !/htmlpurifier-3\.1\.1(\.|-standalone|-lite)
6 RewriteCond %{REQUEST_URI} !/htmlpurifier-2\.1\.5(\.|-standalone|-lite)
7 RewriteCond %{REQUEST_URI} !/phorum-htmlpurifier-3\.0\.0\.
8 RewriteCond %{REQUEST_URI} !\.sig$
9 RewriteRule ^releases/(htmlpurifier-|phorum-) releases/warning.html [N]
11 # Docs
12 RewriteRule ^docs$ docs/ [R]
13 RewriteRule ^docs(/.*|) dev/docs$1