add .htaccess
[~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