publiccode.si/site/static/.htaccess

15 lines
398 B
ApacheConf
Raw Normal View History

2017-06-15 20:04:01 +02:00
RewriteEngine On
RewriteBase /
2017-06-15 20:04:01 +02:00
2017-06-22 13:07:24 +02:00
# Password-protect the site until it's released
AuthType Basic
AuthName "This website will be released soon. Please follow our news on fsfe.org to stay updated."
AuthUserFile /usr/share/blog/public/.htpasswd
Require valid-user
2017-06-22 13:07:24 +02:00
# Redirect 404 errors to nice page
ErrorDocument 404 /404.html
2017-06-15 20:04:01 +02:00
# Nicer URL for share buttons
RewriteRule ^share/?$ /cgi/share.php [NC,L]