.htaccess and Rewrite in LiteSpeed

#1
Hi,

I'm trying to do URL masking through .htaccess, but the [P] redirection doesn't work.

With the following code on a server APACHE works without problems, LiteSpeed does not work:

RewriteEngine on
RewriteRule ^(.*)$ http://***.***.***.*:****/$1 [P]

(The asterisks correspond to the IP).

The redirection [L] works without problem:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^***.****.com
RewriteRule ^(.*) http://***.***.***.*:****/$1 [L]

What could be the mistake?

Thanks!
 
Top