[Ilugc] Convert Apache .htaccess to Lighttpd

  • From: kannan4k@xxxxxxxxx (Kannan)
  • Date: Wed, 8 May 2013 18:57:00 +0530

*Hi Guys, *
*
*
*Can anyone help me converting this Apache .htaccess to Lighttpd URL
Rewriting. *

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^(.+)\~s$
RewriteRule ^(.*) stats.php?u=\ [L]
RewriteCond %{REQUEST_URI} ^(.+)\~d$
RewriteRule ^(.*) delete_file.php?u=\ [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~i$
RewriteRule ^(.*) share_file.php?u=\ [QSA,L]
RewriteCond %{REQUEST_URI} ^(.+)\~f$
RewriteRule ^(.*) view_folder.php?f=\ [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond \ !\.html$
RewriteRule ^(.*) file_download.php?u=\ [QSA,L]

RewriteRule ^(.*).html$ \.php [QSA,L]




-- 
With regards,

Kannan P

Other related posts: