return unknown.webp file if the requested file does not exist
This commit is contained in:
5
public/thumbnails/.htaccess
Normal file
5
public/thumbnails/.htaccess
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
RewriteEngine On
|
||||||
|
# Check if the requested file does not exist
|
||||||
|
RewriteCond %{REQUEST_FILENAME} !-f
|
||||||
|
# If it doesn't exist, serve the unknown.webp file
|
||||||
|
RewriteRule ^.*$ /path/to/unknown.webp [L]
|
||||||
Reference in New Issue
Block a user