]> git.mxchange.org Git - friendica.git/blobdiff - .htaccess-dist
spelling: occurred
[friendica.git] / .htaccess-dist
index c86b81b889d128cc321978f8f90643d2bfef2d3f..c5c1b5b716c1e75a09a7f02d5b105c88a1f882ee 100644 (file)
@@ -19,7 +19,7 @@ AddType audio/ogg .oga
 </FilesMatch>
 
 # deny access to backup files
-<FilesMatch "(~|\.bak|\.swp)$">
+<FilesMatch "(\~|\.bak|\.swp)$">
   <IfModule authz_host_module>
     #Apache 2.4
     Require all denied
@@ -51,6 +51,6 @@ AddType audio/ogg .oga
 
   RewriteCond %{REQUEST_FILENAME} !-f
   RewriteCond %{REQUEST_FILENAME} !-d
-  RewriteRule ^(.*)$ index.php?pagename=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA]
+  RewriteRule ^(.*)$ index.php?pagename=$1 [E=REMOTE_USER:%{HTTP:Authorization},L,QSA,B]
 
 </IfModule>