summaryrefslogtreecommitdiffstats
path: root/htaccess.template
blob: 351842c76981c6c3219d922fa7c65a11d7c2d82a (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 and css files
RewriteRule ^(.*)\.[[:xdigit:]]{32}\.(css|js)$ $1.$2 [L]