Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Catalyst: Users

Notes on installing lighttpd and FastCGI for Catalyst

 

 

Catalyst users RSS feed   Index | Next | Previous | View Threaded


kakimoto at tpg

Jun 6, 2009, 2:04 AM

Post #1 of 5 (518 views)
Permalink
Notes on installing lighttpd and FastCGI for Catalyst

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?
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

If that's the case, I reckon I should put in more config into the two
files mentioned (such as with document root and so forth)



I;m not very good with admin/setup of services, so guys, I would
appreaciate some input:)

thank you


K. akimoto


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

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


arodland at comcast

Jun 6, 2009, 3:16 AM

Post #2 of 5 (478 views)
Permalink
Re: Notes on installing lighttpd and FastCGI for Catalyst [In reply to]

On Saturday 06 June 2009 04:04:08 am kakimoto[at]tpg.com.au wrote:
> hi guys,
>
> I'm facing some problems with
> http://dev.catalyst.perl.org/wiki/deployment/lighttpd_fastcgi.

This message looks oddly familiar.

Andrew



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


kakimoto at tpg

Jun 6, 2009, 3:32 AM

Post #3 of 5 (478 views)
Permalink
Re: Notes on installing lighttpd and FastCGI for Catalyst [In reply to]

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/catalyst[at]lists.scsys.co.uk/msg00146.html



On Sat, Jun 6th, 2009 at 8:16 PM, Andrew Rodland <arodland[at]comcast.net>
wrote:

> On Saturday 06 June 2009 04:04:08 am kakimoto[at]tpg.com.au wrote:
> > hi guys,
> >
> > I'm facing some problems with
> > http://dev.catalyst.perl.org/wiki/deployment/lighttpd_fastcgi.
>
> This message looks oddly familiar.
>
> Andrew



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


ash_cpan at firemirror

Jun 6, 2009, 3:47 AM

Post #4 of 5 (478 views)
Permalink
Re: Notes on installing lighttpd and FastCGI for Catalyst [In reply to]

On 6 Jun 2009, at 11:32, kakimoto[at]tpg.com.au 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/catalyst[at]lists.scsys.co.uk/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, kakimoto[at]tpg.com.au 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


romkey at apocalypse

Jun 6, 2009, 5:53 AM

Post #5 of 5 (476 views)
Permalink
Re: Notes on installing lighttpd and FastCGI for Catalyst [In reply to]

On Jun 6, 2009, at 6:32 AM, kakimoto[at]tpg.com.au wrote:
> I'm a developer so any setup task dealing with systems does cause
> problems.

I'm a developer and I do systems work all the time... you don't
develop software in a vacuum; dealing with the stuff it talks to is an
important part of the work.
- john romkey
http://www.romkey.com/


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

Catalyst users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.