Convert Apache Htaccess rules to Lighttpd, Please help
Posted
by Vineet
on Stack Overflow
See other posts from Stack Overflow
or by Vineet
Published on 2010-05-15T10:39:30Z
Indexed on
2010/05/15
10:44 UTC
Read the original article
Hit count: 193
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!
© Stack Overflow or respective owner