views:

23

answers:

0

Hi...

I want to convert the following .htaccess rules to lighttpd. Can anyone please help me ?

DirectoryIndex index.php
RewriteEngine On
#RewriteBase /your-sub-directory
RewriteRule ^index.php/rewrite-test index.php/rewrite-pass [L]
RewriteCond %{REQUEST_URI} ^(.*)//(.*)$
RewriteRule . %1/%2 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^.*$ index.php?qa-rewrite=$0&%{QUERY_STRING} [L]

Thanks!