On 6 Jun 2009, at 11:32, [email protected] wrote:

Well, I'm facing an issue with setting up lighthttpd for production use
of my catalyst app.
I'm a developer so any setup task dealing with systems does cause problems.

I observed another thread pretty similar to this but there's no reply to
whether it's been solved or not.
http://www.mail-archive.com/[email protected]/msg00146.html

You only waited 1 day. Reposting the entire message after such a short period is usually seen as bad behaviour.

On 6 Jun 2009, at 10:04, [email protected] wrote:


hi guys,

I'm facing some problems with
http://dev.catalyst.perl.org/wiki/deployment/lighttpd_fastcgi.

I followed the instructions and still can't get to anyone of my sites
listed below.

- www.myapp.com/  (production)
- www.myapp.com:59000/  (production)
- www.stage.myapp.com:59000/  (staging)

1) I still have the default "/etc/lighttpd/lighttpd.conf" existing. Is
that going to cause confusion?


Shouldn't do.

2) Since the tute instructed us to make the
/etc/lighttpd/conf-available/20_stage.conf and
/etc/lighttpd/conf-available/20_prod.conf, should I start lighttpd with:
 - lighttpd -f /etc/lighttpd/conf-available/20_stage.conf
 - lighttpd -f /etc/lighttpd/conf-available/20_prod.conf


No, if you look in /etc/lighttpd/lighttpd.conf, you will see

  ## load enabled configuration files,
  ## read /etc/lighttpd/conf-available/README first
  include_shell "/usr/share/lighttpd/include-conf-enabled.pl"

Which will include those two files for you (this is assuming you are running on Debian or a derivative.)

For those 2 config files to be enabled, they need to be symlinked into /etc/lighttpd/conf-enabled. That seems to be the step missing in the wiki:

 $ sudo lighty-enable-mod stage prod

-ash
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to