<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On 6 Jun 2009, at 11:32, <a href="mailto:kakimoto@tpg.com.au">kakimoto@tpg.com.au</a> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Well, I'm facing an issue with setting up lighthttpd for production use<br>of my catalyst app.<br>I'm a developer so any setup task dealing with systems does cause problems.<br><br>I observed another thread pretty similar to this but there's no reply to<br>whether it's been solved or not.<br><a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg00146.html">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/msg00146.html</a></div></blockquote><br></div><div>You only waited 1 day. Reposting the entire message after such a short period is usually seen as bad behaviour.</div><div><br></div><div>On 6 Jun 2009, at 10:04, <a href="mailto:kakimoto@tpg.com.au">kakimoto@tpg.com.au</a> wrote:</div><div><br></div><div><blockquote type="cite"><br>hi guys,<br><br>I'm facing some problems with<br><a href="http://dev.catalyst.perl.org/wiki/deployment/lighttpd_fastcgi">http://dev.catalyst.perl.org/wiki/deployment/lighttpd_fastcgi</a>.<br><br>I followed the instructions and still can't get to anyone of my sites<br>listed below.<br><br>-&nbsp;<a href="http://www.myapp.com/">www.myapp.com/</a>&nbsp;&nbsp;(production)<br>-&nbsp;<a href="http://www.myapp.com:59000/">www.myapp.com:59000/</a>&nbsp;&nbsp;(production)<br>-&nbsp;<a href="http://www.stage.myapp.com:59000/">www.stage.myapp.com:59000/</a>&nbsp;&nbsp;(staging)<br><br>1) I still have the default "/etc/lighttpd/lighttpd.conf" existing. Is<br>that going to cause confusion?<br></blockquote><div><br></div><div><br></div><div>Shouldn't do.</div><br><blockquote type="cite">2) Since the tute instructed us to make the<br>/etc/lighttpd/conf-available/20_stage.conf and<br>/etc/lighttpd/conf-available/20_prod.conf, should I start lighttpd with:<br>&nbsp;- lighttpd -f /etc/lighttpd/conf-available/20_stage.conf<br>&nbsp;- lighttpd -f /etc/lighttpd/conf-available/20_prod.conf<br></blockquote><div><br></div><div><br></div><div>No, if you look in&nbsp;/etc/lighttpd/lighttpd.conf, you will see</div><div><br></div><div><div>&nbsp;&nbsp;## load enabled configuration files,</div><div>&nbsp;&nbsp;## read /etc/lighttpd/conf-available/README first</div><div>&nbsp;&nbsp;include_shell "/usr/share/lighttpd/include-conf-enabled.pl"</div><div><br></div><div>Which will include those two files for you (this is assuming you are running on Debian or a derivative.)</div></div><br></div><div>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:</div><div><br></div><div>&nbsp;$ sudo&nbsp;lighty-enable-mod stage prod</div><div><br></div><div>-ash</div></body></html>