From 66c6658bac8b0e99b59e3b9f4eb285f38bcebcf5 Mon Sep 17 00:00:00 2001 From: Arno Richter Date: Wed, 16 Aug 2023 14:52:58 +0200 Subject: huge update to implement first version of activitypub support. closes #16. AP and subdir hosting are incompatible! --- .htaccess | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '.htaccess') diff --git a/.htaccess b/.htaccess index 11ad211..5c21e0d 100644 --- a/.htaccess +++ b/.htaccess @@ -14,9 +14,6 @@ AddType application/json .json -# deny access to key files -RedirectMatch 403 ^/keys/.*$ - 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] -- cgit v1.2.3