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:
@@ -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/
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user