Lighttpd Problems

Hi everybody,

I was using ruby with Lighttpd just fine, and all of a sudden I’m having
a problem. I’ve exhausted google - nobody else seems to have this
problem.

when running script/server, I get:

=> Booting lighttpd (use ‘script/server webrick’ to force WEBrick)
=> 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)
2006-11-13 12:41:52: (config.c.638) line: 11 pos: 28 invalid value field
2006-11-13 12:41:52: (config.c.720) configfile parser failed
Exiting

That error, “invalid value field” doesn’t seem to shoe up much in
google, but no matter what I change or purposefully mess up in my
lighttpd.conf file, that’s the only error I ever get.

The location it’s referring to (line: 11 pos: 28) is the first
appearnace of CWD in the config file. Here is line 11:

server.document-root = CWD + “/public/”

I’m using lighttpd version 1.4.13, so CWD should not be a problem. I
have a feeling that I’ve messed something up badly, but I can’t track
anything down.

HELP!!

not an expert, but from where you try to start it? from the …/public I
hope (parent folder of the public)?

You can also use an expanded path instead of CWD + “/public/”, at least
for testing

The file ‘config.c’ Is not lighttpd.conf. It seems that your source has
somehow been corrupted. I would reinstall lighttpd, if you haven’t tried
that already.

Ryan Weaver wrote:

when running script/server, I get:

=> Booting lighttpd (use ‘script/server webrick’ to force WEBrick)
=> 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)
2006-11-13 12:41:52: (config.c.638) line: 11 pos: 28 invalid value field
2006-11-13 12:41:52: (config.c.720) configfile parser failed
Exiting

Move config/lighttpd.conf away and then start script/server. Rails will
copy its
default lighttpd.conf in config/.


Sava C.