96c757e2467ce4ae784be7a60b4ee7e70a93c084
[~bandali/bndl.org] / static / .htaccess
1 # www -> no-www
2 <IfModule mod_rewrite.c>
3 RewriteEngine On
4 RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC]
5 RewriteRule ^ %{REQUEST_SCHEME}://%1%{REQUEST_URI} [R,L]
6 </IfModule>
7
8 # custom 404 page
9 ErrorDocument 404 /404.html