[Catalyst] Canot get application working on IIS7 via FastCGI

Craig Chant craig at homeloanpartnership.com
Mon Oct 22 08:36:08 GMT 2012

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 [mailto:bobtfish at 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, 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 being served from the root/static directory , I had to put '*.' For images etc to show.

Patch please?

> Now I cannot get any path to be recognised, http://mydomain/mycontroller/mymethod does nothing, and all that will load is the Root.pm -> sub index :Path :Args(0) method.

Loading the wrong URI is significantly different to doing nothing, no?

> It doesn't matter what URL I point my browser to all I ever get is the welcome screen from the Root.pm index method.
> If I use localhost for the devel server the app resolves the URL path correctly and the associated action runs from the correct controller.
> However, over IIS7 it will not work and I cannot find any resources to explain why.
> Please help!

You haven't given us anything to help try to explain why!

Please can you give us the debug output from startup of the app + the debug logs of asking for /, and asking for /a/uri/which/does/not/work ? Also, please add a Data::Dumper::Dumper to the Catalyst::Engine::prepare_path method - one at the start to dump $env, and two near the bottom to dump $c->request->uri and $c->request->base just after they've been assigned to...


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@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/
This Email and any attachments contain confidential information and is intended solely for the individual to whom it is addressed. If this Email has been misdirected, please notify the author as soon as possible. If you are not the intended recipient you must not disclose, distribute, copy, print or rely on any of the information contained, and all copies must be deleted immediately. Whilst we take reasonable steps to try to identify any software viruses, any attachments to this e-mail may nevertheless contain viruses, which our anti-virus software has failed to identify. You should therefore carry out your own anti-virus checks before opening any documents. HomeLoan Partnership will not accept any liability for damage caused by computer viruses emanating from any attachment or other document supplied with this e-mail. HomeLoan Partnership reserves the right to monitor and archive all e-mail communications through its network. No representative or employee of HomeLoan Partnership has the authority to enter into any contract on behalf of HomeLoan Partnership by email. HomeLoan Partnership is a trading name of H L Partnership Limited, registered in England and Wales with Registration Number 5011722. Registered office: 26-34 Old Street, London, EC1V 9QQ. H L Partnership Limited is authorised and regulated by the Financial Services Authority.

More information about the Catalyst mailing list