Forum: Ruby on Rails hivelogic lighttpd install

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Clint P. (Guest)
on 2006-03-22 04:51
(Received via mailing list)
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
Peter T Bosse II (Guest)
on 2006-03-22 07:10
(Received via mailing list)
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
Clint P. (Guest)
on 2006-03-22 18:54
(Received via mailing list)
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
Peter T Bosse II (Guest)
on 2006-03-23 03:30
(Received via mailing list)
Clint,

Here's a good option:

http://hivelogic.com/articles/2005/12/29/lighttpd_...

- Peter
Clint P. (Guest)
on 2006-03-23 16:16
(Received via mailing list)
Perfect! I looked through Hivelogic and never saw this.

Thanks for the link.
Clint
This topic is locked and can not be replied to.