CodeIgniter Forums
lighthttpd rather nice - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: lighthttpd rather nice (/showthread.php?tid=7886)



lighthttpd rather nice - El Forum - 04-25-2008

[eluser]Unknown[/eluser]
First off I have to say isn't CodeIgniter a breath of fresh air!

Looking for a server I could run on my eeePC I happily stumbled on lighthttpd
I'm very new to it but it fits the job nicely for mobile development.
(apparently its usable for production use too)

It compiled quickly and cleanly (what two breaths of fresh air in ONE day!!)
and even allows for nice url's just uncomment mod rewrite and add this rule

url.rewrite = ( "^/(.*)$" => "index.php/$1" )

there's some other examples at around line 300 or so of the default config.

I used mod_cgi instead of fast cgi as it seemed easier to configure it needed one
setting

cgi.assign = ( ".php" => "/usr/local/bin/php-cgi" )


I have found it considerably less burdensome than maintaining apache and definitely
a lot less disk space.

Hope someone else finds this useful

C


lighthttpd rather nice - El Forum - 04-26-2008

[eluser]sikkle[/eluser]
Welcome to ci, and thanks for this contribution.

I even think with maybe other people suggestion, this could become a how to run Ci on lighthttp for the wiki.

See ya around!


lighthttpd rather nice - El Forum - 04-26-2008

[eluser]garymardell[/eluser]
Lighthttpd is a great solution, I have used it before but only for ruby on rails production. It is meant to be one of the faster systems compared to apache.