[Ilugc] Convert Apache .htaccess to Lighttpd

  • From: mindaslab@xxxxxxxxx (Karthikeyan A.K)
  • Date: Tue, 14 May 2013 15:18:07 +0530

Y don't u try lighttpd forum if there any?


On Mon, May 13, 2013 at 7:05 PM, Kannan <kannan4k at gmail.com> wrote:

Guys,
Anyone who is expert in lighttpd conf's please help me to convert this.
Thanks!


On Thu, May 9, 2013 at 9:59 PM, Kannan <kannan4k at gmail.com> wrote:

I am trying line by line

Started with the following line

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

to

url.rewrite-once = ( "^(.*)\.php\??(.*)?$" => "$1.html?$2" )

And it works. But I don't know how it works. Can you guys please help me
with following lines

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]


Thanks





On Thu, May 9, 2013 at 10:57 AM, Venkatraman S <venkat83 at gmail.com>
wrote:

On Thu, May 9, 2013 at 10:26 AM, Arun Khan <knura9 at gmail.com> wrote:

On Wed, May 8, 2013 at 6:57 PM, Kannan <kannan4k at gmail.com> wrote:
*Hi Guys, *
*
*
*Can anyone help me converting this Apache .htaccess to Lighttpd URL

Consider nginx <http://nginx.org/en/> if you are switching the web
server software.



+1. Nginx is kicka$$. The ease of setup+configuration will remove/avoid
a
lot of pain.

-V
@venkasub
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




--
With regards,

Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/




--
With regards,

Kannan. R. P,
Blog @: http://kannan4k.wordpress.com/
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc




-- 
Nothing is constant

Regards

A.K.Karthikeyan
http://is.gd/kblogs

Other related posts: