Hi,
i have a bit of an issue with .htaccess using litespeed.
for example:
RewriteRule ^examples/(.*)$ example.html?id=$1 [QSA,L]
RewriteRule ^examples$ example.html [QSA,L]
RewriteRule ^([a-z0-9\-\/]+)(\.p([0-9]+))?\.(htm|html)$ example.php?url=$1&p=$3 [QSA,L]
would not work on litespeed but work fine on apache.
the thing about this 2 query is the first one change the url in question to a "example.html?id=something" for the second one to turn it into "example.php?url=examples&p=".
is this function supported in litespeed somewhere or somehow?
as it is required to, even if it's slightly inefficient.
Best Regards
i have a bit of an issue with .htaccess using litespeed.
for example:
RewriteRule ^examples/(.*)$ example.html?id=$1 [QSA,L]
RewriteRule ^examples$ example.html [QSA,L]
RewriteRule ^([a-z0-9\-\/]+)(\.p([0-9]+))?\.(htm|html)$ example.php?url=$1&p=$3 [QSA,L]
would not work on litespeed but work fine on apache.
the thing about this 2 query is the first one change the url in question to a "example.html?id=something" for the second one to turn it into "example.php?url=examples&p=".
is this function supported in litespeed somewhere or somehow?
as it is required to, even if it's slightly inefficient.
Best Regards
Last edited: