Need help with litespeed web server .htaccess rules.
And our Existing `.htaccess` code is also given below.
But I don't know the issue, this rewrite still not working and shows 404 error because
These rules are working perfectly with Apache server, but not working with Litespeed
For reference:
Thanks in advance.
http://example.com/temp/home.php
is existing URL, but now what we need to rewrite is mentioned below:http://example.com/temp.php?redirect=home.php
And our Existing `.htaccess` code is also given below.
Code:
RewriteEngine on<br/>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^temp/(.*)$ temp.php?redirect=$1 [QSA,L]
temp/home.php
does not exist.These rules are working perfectly with Apache server, but not working with Litespeed
For reference:
https://htaccess.madewithlove.be?share=d15d3bca-6974-5682-902a-823c1a63e2b7
Thanks in advance.
Last edited by a moderator: