Question About Apache .htaccess To Lighttpd Rewrite

Discussion in 'Site & Server Administration' started by iraniansat, Aug 12, 2010.

  1. #1
    Hi dear friends

    For some reason I was forced to migrate from Apache to Lighttpd

    I am using movable type script?

    Movable Type was a plugin called Pagination!

    Pugination Plugin settings are related to the rewrite!

    I searched everywhere only code I've found related to Apache!

    Sample code to Apache:

    
    RewriteCond %{QUERY_STRING} ^page=[0-9]+$ [NC]
    RewriteRule ^(.*)$ <mt:CGIRelativeURL>plugins/Pagination/pages.cgi?blog_id=<mt:BlogID>&lastn=10&idx=<mt:IndexBasename><mt:BlogFileExtension>&path=<mt:BlogRelativeURL>$1 [L,QSA]
    
    Code (markup):
    Are grateful to friends know that I get this code for Lighttpd to edit and put here!

    Thanks!
     
    iraniansat, Aug 12, 2010 IP