Hello everyone, I just migrated from apache to openlitespeed and I have an issue with a few lines from htaccess
RewriteCond %{REQUEST_URI} !\-[0-9]+x[0-9]+\.(jpg|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} -s
RewriteRule ^/?wp-content/uploads/(.*)$ dl-file1.php?file=$1 [QSA]
This should redirect any image that is not a thumbnail to a file, worked fine with apache but now it has no effect. Can anyone let me know what is wrong?
Thanks.
RewriteCond %{REQUEST_URI} !\-[0-9]+x[0-9]+\.(jpg|png)$ [NC]
RewriteCond %{REQUEST_FILENAME} -s
RewriteRule ^/?wp-content/uploads/(.*)$ dl-file1.php?file=$1 [QSA]
This should redirect any image that is not a thumbnail to a file, worked fine with apache but now it has no effect. Can anyone let me know what is wrong?
Thanks.