aboutsummaryrefslogtreecommitdiffstats
path: root/.htaccess
diff options
context:
space:
mode:
authorHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-09 06:03:43 +0100
committerHaakon Meland Eriksen <haakon.eriksen@far.no>2016-02-09 06:03:43 +0100
commit8c99228c8ab4d0475dc2065e5682dd22d680d4e7 (patch)
tree65d2d57bde451526dc1dc3567d4c8722c7df807b /.htaccess
parent2935c5fe1ad7999d6abf527bfc8e8d353ceb9d32 (diff)
parentf984502499c836cde0be647907be505508c04e0c (diff)
downloadvolse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.tar.gz
volse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.tar.bz2
volse-hubzilla-8c99228c8ab4d0475dc2065e5682dd22d680d4e7.zip
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess3
1 files changed, 3 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index 5f6414882..3420313a5 100644
--- a/.htaccess
+++ b/.htaccess
@@ -24,6 +24,9 @@ AddType audio/ogg .oga
# Also place auth information into REMOTE_USER for sites running
# in CGI mode.
+ RewriteCond %{REQUEST_URI} ^/\.well\-known/.*
+ RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
+
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]