htaccess - file not existing then rewrite rules

RewriteEngine On

#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-s
#RewriteRule ^.*\.jpg$ noimage/default.jpg [L]
RewriteRule ^.*\.jpg$ default.jpg [L]

你可能感兴趣的:(htaccess)