diff options
author | Arno Richter <oelna@oelna.de> | 2023-08-16 14:52:58 +0200 |
---|---|---|
committer | Arno Richter <oelna@oelna.de> | 2023-08-16 14:52:58 +0200 |
commit | 66c6658bac8b0e99b59e3b9f4eb285f38bcebcf5 (patch) | |
tree | fa54ab21d4c6122df124459030dd5c6af723f1af /.htaccess | |
parent | ff2858b6ea8f586daa95e51ae21315f86cc5ded5 (diff) | |
download | microblog-66c6658bac8b0e99b59e3b9f4eb285f38bcebcf5.tar.gz microblog-66c6658bac8b0e99b59e3b9f4eb285f38bcebcf5.tar.bz2 microblog-66c6658bac8b0e99b59e3b9f4eb285f38bcebcf5.zip |
huge update to implement first version of activitypub support. closes #16. AP and subdir hosting are incompatible!
Diffstat (limited to '.htaccess')
-rw-r--r-- | .htaccess | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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] |