RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Craig Chant
: 22 October 2012 19:49 To: The elegant MVC web framework Subject: Re: [Catalyst] Canot get application working on IIS7 via FastCGI On 18 Oct 2012, at 14:15, Craig Chant wrote: Here is the output for the /librarydocs path. *** $env $VAR1 = { 'psgi.multiprocess' = 1

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Lyle
On 23/10/2012 11:37, Craig Chant wrote: Bingo - You are a genius Tom! Thank you so, so much, I would never have found that switch buried in the documentation for a long, long time! As this is standard behaviour for IIS, Catalyst really should be setting this by default when it's running

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Craig Chant
. Regards, Craig. -Original Message- From: Lyle [mailto:webmas...@cosmicperl.com] Sent: 23 October 2012 12:05 To: catalyst@lists.scsys.co.uk Subject: Re: [Catalyst] Canot get application working on IIS7 via FastCGI On 23/10/2012 11:37, Craig Chant wrote: Bingo - You are a genius Tom

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Tomas Doran
On 23 Oct 2012, at 11:37, Craig Chant wrote: Bingo - You are a genius Tom! Thank you so, so much, I would never have found that switch buried in the documentation for a long, long time! I cannot thank the Catalyst community enough for bearing with me and taking the time to provide all

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Tomas Doran
On 23 Oct 2012, at 12:04, Lyle wrote: On 23/10/2012 11:37, Craig Chant wrote: Bingo - You are a genius Tom! Thank you so, so much, I would never have found that switch buried in the documentation for a long, long time! As this is standard behaviour for IIS, Catalyst really should be

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Lyle
On 23/10/2012 21:42, Tomas Doran wrote: On 23 Oct 2012, at 12:04, Lyle wrote: IIS also doesn't have the pwd as the folder where the script is running. So you usually need to do: use FindBin qw ($RealBin $RealScript); use lib $FindBin::RealBin; chdir $RealBin; Otherwise you get issues when

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Tomas Doran
On 23 Oct 2012, at 22:03, Lyle wrote: Otherwise you get issues when people try to open files with a relative path. This is normal in other web servers also. Doing that is broken, we provide $app-path_to so you don't ever have to do that. How is it broken? Because, as much as

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-23 Thread Lyle
On 23/10/2012 22:31, Tomas Doran wrote: On 23 Oct 2012, at 22:03, Lyle wrote: Otherwise you get issues when people try to open files with a relative path. This is normal in other web servers also. Doing that is broken, we provide $app-path_to so you don't ever have to do that. How is it

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-22 Thread Craig Chant
: Re: [Catalyst] Canot get application working on IIS7 via FastCGI On 17 Oct 2012, at 16:49, Craig Chant wrote: Hi, I've been going round in circles unable to find any help on why my catalyst application won't work on IIS7 Windows Server 2008 R2 I find all the documentation to be incorrect

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-22 Thread anthony . okusanya
/22/2012 03:38 AM Subject:RE: [Catalyst] Canot get application working on IIS7 via FastCGI Well I've provided everything you requested, but not had a reply from you, shall I assume Catalyst doesn't work on IIS until I hear to the contrary? -Original Message- From: Tomas Doran

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-22 Thread Craig Chant
...@homeloanpartnership.commailto:cr...@homeloanpartnership.com To:The elegant MVC web framework catalyst@lists.scsys.co.ukmailto:catalyst@lists.scsys.co.uk Date:10/22/2012 03:38 AM Subject:RE: [Catalyst] Canot get application working on IIS7 via FastCGI Well I've

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-22 Thread Tomas Doran
On 18 Oct 2012, at 14:15, Craig Chant wrote: Here is the output for the /librarydocs path. *** $env $VAR1 = { 'psgi.multiprocess' = 1, 'SCRIPT_NAME' = '', 'PATH_INFO' = '/', Right, that's IIS asking for a path of / Ergo Catalyst serves / :_) I know

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-22 Thread Tomas Doran
On 18 Oct 2012, at 14:15, Craig Chant wrote: Here is the output for the /librarydocs path. *** $env $VAR1 = { 'psgi.multiprocess' = 1, 'SCRIPT_NAME' = '', 'PATH_INFO' = '/', snip 'REQUEST_URI' = '/librarydocs' Actually, do you you have the

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread David Schmidt
Though while we are on the subject of Catalyst plug-ins, I do get this message in the devel server output when it's started. [warn] Deprecated 'static' config key used, please use the key 'Plugin::Static::Simple' instead I've looked at the main application MyApp.pm in the lib folder and

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread Craig Chant
' = {dirs = ['static', qr/^(images|css)/,]} The warning has now gone when firing up the devel server. Much obliged Craig. -Original Message- From: David Schmidt [mailto:davew...@gmx.at] Sent: 18 October 2012 07:48 To: The elegant MVC web framework Subject: Re: [Catalyst] Canot get application

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread Craig Chant
: [Catalyst] Canot get application working on IIS7 via FastCGI Sorry again for not providing enough information, I will try to give you what you need but I will need a little help doing that also, can you advise where the logs for the app when running over IIS7- FastCGI are? Is there a file

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread David Schmidt
As for the Data::Dumper information you requested, you will need to give me more guidance because I can't get it to output anything? Firstly I cannot find the context variable '$c' , there is a '$ctx' , I assume this is what was meant? I added dump($env); dump($ctx-request-uri);

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread Hugh Barnard
...@gmx.at] Sent: 18 October 2012 12:34 To: The elegant MVC web framework Subject: Re: [Catalyst] Canot get application working on IIS7 via FastCGI As for the Data::Dumper information you requested, you will need to give me more guidance because I can't get it to output anything? Firstly I

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread Lyle
On 18/10/2012 14:15, Craig Chant wrote: Hi David / Adam, In the end I gave up with any of the so far provided suggestion, I've wasted hours hunting for logs that just don't seem to exist. I'm not sure where you believe any of this output is going, but I've searched every IIS log, windows

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-18 Thread Craig Chant
application working on IIS7 via FastCGI On 18/10/2012 14:15, Craig Chant wrote: Hi David / Adam, In the end I gave up with any of the so far provided suggestion, I've wasted hours hunting for logs that just don't seem to exist. I'm not sure where you believe any of this output is going, but I've

Re: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-17 Thread Tomas Doran
On 17 Oct 2012, at 16:49, Craig Chant wrote: Hi, I’ve been going round in circles unable to find any help on why my catalyst application won’t work on IIS7 Windows Server 2008 R2 I find all the documentation to be incorrect,, such as setting the path to ‘*’ stops all static content

RE: [Catalyst] Canot get application working on IIS7 via FastCGI

2012-10-17 Thread Craig Chant
to building my next app using your framework. Many thanks, Craig. From: Tomas Doran [bobtf...@bobtfish.net] Sent: 17 October 2012 21:24 To: The elegant MVC web framework Subject: Re: [Catalyst] Canot get application working on IIS7 via FastCGI On 17 Oct 2012