Welcome Guest, Not a member yet? Register   Sign In
lighthttpd rather nice
#1

[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
#2

[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!
#3

[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.




Theme © iAndrew 2016 - Forum software by © MyBB