1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 16:54:44 +02:00

Update optional .htaccess for skipping over image files to match request url rather than filename per issue that @Toutouwai mentioned

This commit is contained in:
Ryan Cramer
2021-04-16 10:38:36 -04:00
parent eb3dd355b0
commit f99d20dfa5

View File

@@ -453,7 +453,7 @@ DirectoryIndex index.php index.html index.htm
# section #2 above that makes ProcessWire the 404 handler. # section #2 above that makes ProcessWire the 404 handler.
# ----------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------
# RewriteCond %{REQUEST_FILENAME} !\.(jpg|jpeg|gif|png|ico|webp|svg)$ [NC] # RewriteCond %{REQUEST_URI} !\.(jpg|jpeg|gif|png|ico|webp|svg)$ [NC]
# RewriteCond %{REQUEST_FILENAME} !(^|/)site/assets/ # RewriteCond %{REQUEST_FILENAME} !(^|/)site/assets/
# ----------------------------------------------------------------------------------------------- # -----------------------------------------------------------------------------------------------