uberfuzzy/plcl/master/.htaccess - Htaccess File

uberfuzzy/plcl/master/.htaccess

RewriteEngine on

# Special catches. min in prod, full in dev
RewriteCond %{REQUEST_URI} /css/bootstrap.css$ [OR]
RewriteCond %{REQUEST_URI} /js/bootstrap.js$
RewriteRule (.+/bootstrap).(.+)$ http://assets.hurgle.com/plcl/$1.min.$2 [L,R=301,NC]

# Redirect all sub assets through cdn
RewriteCond %{REQUEST_URI} /css/.+.css$ [OR]
RewriteCond %{REQUEST_URI} /fonts/.+..+$ [OR]
RewriteCond %{REQUEST_URI} /img/.+.png$ [OR]
RewriteCond %{REQUEST_URI} /js/.+.js$
RewriteRule (.+/.+..+)$ http://assets.hurgle.com/plcl/$1 [L,R=301,NC]

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache