Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #4344 (closed defect: invalid)

Opened 4 years ago

Last modified 4 years ago

Changeset 4000 breaks lighttpd < 1.4.10

Reported by: ptb@mac.com Assigned to: David
Priority: normal Milestone: 1.1
Component: Railties Version: 1.0.0
Severity: normal Keywords:
Cc:

Description

Changeset 4000 breaks versions of lighttpd < 1.4.10. I'm running lighttpd 1.4.8, which doesn't understand what "CWD" is.

---%<---

=> Booting lighttpd (use 'script/server webrick' to force WEBrick) => config/lighttpd.conf not found, copying from /Users/ptb/Sites/Rails/test/vendor/rails/railties/configs/lighttpd.conf => Rails application started on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server (see config/lighttpd.conf for options) Undefined config variable: var.CWD 2006-03-21 11:25:28: (configfile.c.800) source: config/lighttpd.conf line: 8 pos: 43 parser failed somehow near here: + Exiting

---%<---

What I've been doing is opening the file with vi then doing search and replace with CWD with the correct path, but that's tedious and not the way it should be.

Will Rails 1.1 require lighttpd >= 1.4.10?

Change History

03/22/06 00:32:45 changed by anonymous

Versions of Lighttpd-1.4 which are < 1.4.11 are not reliable (unrelated to Rails) based on my internal tests involving cgi and mod_fastcgi.

I highly recommend using version >= 1.4.11 because it is the first (IMHO) reliable version of Lighttpd. The only notable issues with 1.4.11 involves SSL when using mod_fastcgi with Opera and Safari browsers.

03/22/06 01:01:47 changed by david

  • status changed from new to closed.
  • resolution set to invalid.

Yes, Rails 1.1 will assume that you have 1.4.11 or above. You're still free to use 1.4.8, but it'll require that you alter your lighttpd.conf accordingly.