# Lighttpd trouble

**URL:** <https://www.ruby-forum.com/t/lighttpd-trouble/63647>\
**Category:** Ruby\
**Created:** [June 16, 2006, 10:54pm UTC](https://www.ruby-forum.com/t/lighttpd-trouble/63647 "2006-06-16T22:54:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tma](https://www.ruby-forum.com/u/tma)\
**Post date:** [June 16, 2006, 10:54pm UTC](https://www.ruby-forum.com/t/lighttpd-trouble/63647/1 "2006-06-16T22:54:02Z")

</div>

The mac installation I put in uses lighttpd, which  
crashes when I try to run it with

ruby script/server

It crashes because the variable ‘CWD’ in the conf file for lighttpd is  
not defined. It should be the base (root? stem?) of a file location. I  
do not know where it was supposed to be created. I can set it to  
something, or rewrite the file to set it to something, but if I pick the  
wrong stem the program might not work, or might overwrite something  
else. In any event it is not a real solution since it is going to  
re-break as soon as something gets updated and program is reinstalled.

I hope someone can tell me that this is a simple problem and that it can  
be  
solved by … ?

---

<div class="post-metadata">

**Author:** ![tma](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/ed655f/32.png) [@tma](https://www.ruby-forum.com/u/tma)\
**Post date:** [June 16, 2006, 11:04pm UTC](https://www.ruby-forum.com/t/lighttpd-trouble/63647/2 "2006-06-16T23:04:02Z")

</div>

On Jun 16, 2006, at 1:52 PM, Tom A. wrote:

> pick the  
> wrong stem the program might not work, or might overwrite something  
> else. In any event it is not a real solution since it is going to  
> re-break as soon as something gets updated and program is reinstalled.
> 
> I hope someone can tell me that this is a simple problem and that  
> it can be solved by … ?

Tom-

```
You need the latest version of lighttpd(1.4.11) to use CWD. it will

```

be set automatically to the current working dir and it works fine but  
you must upgrade your lighty install.

Cheers-  
-Ezra
