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 authored and kingjia90 committed Feb 13, 2024
1 parent 28c2112 commit 2e3e69e
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 2e3e69e

Please sign in to comment.