aboutsummaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess6
1 files changed, 3 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index 11ad211..5c21e0d 100644
--- a/.htaccess
+++ b/.htaccess
@@ -14,9 +14,6 @@ AddType application/json .json
</IfModule>
</Files>
-# deny access to key files
-RedirectMatch 403 ^/keys/.*$
-
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
@@ -25,6 +22,9 @@ RewriteBase /
RewriteRule ^feed/json/?$ feed/feed.json [L]
RewriteRule ^feed/atom/?$ feed/feed.xml [L]
+RewriteRule ^.well_known/webfinger$ /.well-known/webfinger [R=302] # stupid
+RewriteRule ^.well-known/webfinger$ /webfinger [L] # correct
+
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]