# Hivelogic lighttpd install

**URL:** <https://www.ruby-forum.com/t/hivelogic-lighttpd-install/55564>\
**Category:** Rails\
**Created:** [March 22, 2006, 3:51am UTC](https://www.ruby-forum.com/t/hivelogic-lighttpd-install/55564 "2006-03-22T03:51:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pachl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5f9b8f/32.png) [@pachl](https://www.ruby-forum.com/u/pachl)\
**Post date:** [March 22, 2006, 3:51am UTC](https://www.ruby-forum.com/t/hivelogic-lighttpd-install/55564/1 "2006-03-22T03:51:22Z")

</div>

Hey group,

I went through the Hivelogic install and it works great. Now I’d like  
to run lighttpd as a daemon, but when I go into the /usr/local folder  
where everything was installed, I don’t see a lighttpd directory where  
the config files would be.

If I try “lighttpd start” from the command line, I get an error that  
says “No configuration file available”.

Does a config file exist for it and where can I find it. Otherwise,  
what else can I do to try to get it running?  
Thanks for the help.

Clint

---

<div class="post-metadata">

**Author:** ![pachl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5f9b8f/32.png) [@pachl](https://www.ruby-forum.com/u/pachl)\
**Post date:** [March 22, 2006, 6:10am UTC](https://www.ruby-forum.com/t/hivelogic-lighttpd-install/55564/2 "2006-03-22T06:10:44Z")

</div>

If you’re trying to get lighttpd running so you can serve your rails  
app, then cd to your rails application directory, then run:

script/server -d

If you want to run in production mode, edit your config/  
environment.rb file and change “development” to “production”.

The lighttpd.conf file should exist in your config directory. If it  
doesn’t exist there, running script/server will copy a default config  
file from your rails install.

If script/server runs WEBrick instead of lighttpd, then your path  
isn’t set up correctly. If you do a `echo $PATH` you should see /usr/  
local/sbin in there somewhere. If not edit your ~/.bash\_profile or /  
etc/profile to add it.

- Peter

---

<div class="post-metadata">

**Author:** ![pachl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5f9b8f/32.png) [@pachl](https://www.ruby-forum.com/u/pachl)\
**Post date:** [March 22, 2006, 5:54pm UTC](https://www.ruby-forum.com/t/hivelogic-lighttpd-install/55564/3 "2006-03-22T17:54:48Z")

</div>

I guess I should have been more specific. Now that I have it running,  
I’d  
like to have it run non-Rails web sites on my system as well, so I’d  
like to  
setup virtual hosts (or the equivalent with Lighttpd) to run my Rails  
and  
non-Rails sites on my computer. I know how to run it for individual  
apps, I  
just don’t know how to run this install as a service for my computer as  
a  
whole. The only config files I can find exist only in the Rails app.

Any thoughts on doing this?  
Clint

---

<div class="post-metadata">

**Author:** ![pachl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5f9b8f/32.png) [@pachl](https://www.ruby-forum.com/u/pachl)\
**Post date:** [March 23, 2006, 2:30am UTC](https://www.ruby-forum.com/t/hivelogic-lighttpd-install/55564/4 "2006-03-23T02:30:06Z")

</div>

Clint,

Here’s a good option:

> **[Dan Benjamin](https://danbenjamin.com)**
>
> Dan Benjamin's personal website.

- Peter

---

<div class="post-metadata">

**Author:** ![pachl](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/5f9b8f/32.png) [@pachl](https://www.ruby-forum.com/u/pachl)\
**Post date:** [March 23, 2006, 3:16pm UTC](https://www.ruby-forum.com/t/hivelogic-lighttpd-install/55564/5 "2006-03-23T15:16:49Z")

</div>

Perfect! I looked through Hivelogic and never saw this.

Thanks for the link.  
Clint
