Re: [Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-07 Thread kakimoto
hello Ash,
 I  looked through my config files again and have been successful in
running /etc/init.d/lighttpd with no errors in /var/log/lighttpd/error.log.

Based on the tutorial in
http://dev.catalyst.perl.org/wiki/deployment/lighttpd_fastcgi, can
anyone please tell me what are the urls for the set up of prod and
staging environments?

thank you


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


Re: [Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-07 Thread kakimoto
Sorry, I'm just too excited in having to solve the problem. Have been
googling without much success hence the impatient postings.

 Thanks for your response in relation to the matter. I will look at it soon!
 thanks :)

K. akimoto:)

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

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


Re: [Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-06 Thread John Romkey

On Jun 6, 2009, at 6:32 AM, kakim...@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@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-06 Thread Ash Berlin


On 6 Jun 2009, at 11:32, kakim...@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@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, kakim...@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___
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-06 Thread kakimoto
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@lists.scsys.co.uk/msg00146.html



On Sat, Jun 6th, 2009 at 8:16 PM, Andrew Rodland 
wrote:

> On Saturday 06 June 2009 04:04:08 am kakim...@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@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


Re: [Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-06 Thread Andrew Rodland
On Saturday 06 June 2009 04:04:08 am kakim...@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@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/


[Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-06 Thread kakimoto

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@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

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


Re: [Catalyst] Notes on installing lighttpd and FastCGI for Catalyst

2009-06-05 Thread kakimoto
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@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/