summaryrefslogtreecommitdiffstats
path: root/htaccess.template
blob: 1672f1d69db0bbd0ac2191478dbc58dda4bdd4d0 (plain)
1
2
3
4
5
6
7
8
9
10
RewriteEngine on

# need to set this to your web path
RewriteBase   /<web path to your files>

# hide git directory (and others)
RedirectMatch 404 \.(git|cvs|svn|bzr|hg)(/.*|$)

# use autoversioning of js, less, and css files
RewriteRule ^(.*)\.[[:xdigit:]]{32}\.(css|js|less)$ $1.$2 [L]