Craig
        I assume your application works using the built in development 
server prior to moving it over to IIS
Can you check your IIS 7 servers Handler mappings for your catalyst App 
(click on your app under sites in IIS manager and double click on Handler 
mappings)
below is what I have mine setup to use. This ensures that files are 
handled by the staticFileModule (the order is important)

Hope this helps.




Thanks

Tony B. Okusanya
Midrange Automation
 



From:   Craig Chant <cr...@homeloanpartnership.com>
To:     The elegant MVC web framework <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 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: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, 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...

Cheers
t0m


_______________________________________________
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/
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.

_______________________________________________
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/


U.S. BANCORP made the following annotations
---------------------------------------------------------------------
Electronic Privacy Notice. This e-mail, and any attachments, contains 
information that is, or may be, covered by electronic communications privacy 
laws, and is also confidential and proprietary in nature. If you are not the 
intended recipient, please be advised that you are legally prohibited from 
retaining, using, copying, distributing, or otherwise disclosing this 
information in any manner. Instead, please reply to the sender that you have 
received this communication in error, and then immediately delete it. Thank you 
in advance for your cooperation.



---------------------------------------------------------------------

<<image/gif>>

_______________________________________________
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/

Reply via email to