On Wednesday, February 15, 2006, at 6:41 PM, Greg F. wrote:
support devel, or somehow force script/server to launch WEBrick? http://lists.rubyonrails.org/mailman/listinfo/rails
We tried to use one file for both production and development but it
never worked very well. Right now, for DevLists.com there is config/
lighttpd.conf for development and config/lighttpd-devlists.conf for
production.
I like having app name in the production config file name – we run
multiple instances of lighttpd and this makes it easier to kill the
right one when needed.
What version of l;ighttpd are you using? The recent versions
( >=1.4.9 ) cannot use relative paths in the config file. So the
lighttpd.conf file in your config directory needs to be edited and
add full absolute paths to your public dir and your dispatch.fcgi.
Thanks, I can do that easily enough for my standard instances
(production, QA, devel).
OTOH, with WEBrick I was creating little sandboxes all the time. I
would simply make a copy of my devel setup and run script/server
–port nnn, where nnn was a unique number.
Is there a simple way to make script/server invoke WEBrick, or some
other way to easily launch WEBrick manually?
Thanks
Greg
Greg F.
The Norcross Group
Forensics for the 21st Century
Now the devel instance of my app is broken.
and run lighttpd.
Forensics for the 21st Century
lighttpd.conf file in your config directory needs to be edited and
add full absolute paths to your public dir and your dispatch.fcgi.