Skip to content

Commit

Permalink
Fix #395 - Add documentation for htaccess file
Browse files Browse the repository at this point in the history
  • Loading branch information
lochmueller committed Sep 18, 2023
1 parent 08e6437 commit 897f0a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/Configuration/Htaccess.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ variables (SFC_ROOT, SFC_GZIP) and read the comments carefully.
# don't show the anonymous version to logged in users.
RewriteCond %{HTTP_COOKIE} !staticfilecache [NC]
# Avoid cached versions for workspace preview links of users that are not
# logged in: https://github.com/lochmueller/staticfilecache/issues/395
RewriteCond %{HTTP_COOKIE} !ADMCMD_prev [NC]
# We only redirect GET requests
RewriteCond %{REQUEST_METHOD} GET
Expand Down

0 comments on commit 897f0a3

Please sign in to comment.