Skip to content

Commit

Permalink
fix apache configuration documentation
Browse files Browse the repository at this point in the history
we need to check for the file in the document root. `%{REQUEST_FILENAME}` does not include the document root
  • Loading branch information
dbu committed Feb 12, 2024
1 parent 6afadd9 commit dab9f88
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -107,7 +107,7 @@ RewriteRule ^cache-buster\-[\d]+/(.*) $1 [PT,L]
# If the requested filename exists, simply serve it.
# We only want to let Apache serve files and not directories.
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} -f
RewriteRule ^ - [L]
# Rewrite all other queries to the front controller.
Expand Down

0 comments on commit dab9f88

Please sign in to comment.