rewriterule doesn't work in LiteSpeed but in Apache

#1
Hi,

My webhost offers to system, one old with Apache and one new with LiteSpeed. All customers will be moved to the new system soon. So this rewrite rule will matters in time. Hope you can help me!

This work in Apache but not in LiteSpeed:
RewriteRule ^admin/?$ admin/index.php [L]

Please help me solve this problem!

Regards Per
 

NiteWave

Administrator
#2
I did test for latest 4.0.20, it's working as expected.

.htaccess in $doc_root:
RewriteRule ^admin/?$ admin/index.php [L]

$doc_root/admin/index.php:
PHP:
<pre>
<?php
print_r($_SERVER["REQUEST_URI"]);
?>
</pre>
 
#5
Well I don't have access to the server so that's not an alternative. I will try to contact the support to see if they can help me with the problem.

Thanx for your time!
 
Top