2017-06-15 20:04:01 +02:00
|
|
|
RewriteEngine On
|
2017-06-19 23:06:51 +02:00
|
|
|
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
|
2017-09-09 12:17:20 +02:00
|
|
|
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
|
|
|
|
2017-06-19 23:18:10 +02:00
|
|
|
# Redirect 404 errors to nice page
|
2017-03-22 15:20:18 +01:00
|
|
|
ErrorDocument 404 /404.html
|
2017-06-15 20:04:01 +02:00
|
|
|
|
|
|
|
# Nicer URL for share buttons
|
|
|
|
RewriteRule ^share/?$ /cgi/share.php [NC,L]
|