Hello Tomas, Many thanks for the quick reply, it really is appreciated.
I'll try to answer your comments as best I can and sorry if I haven't provided enough information or conveyed myself coherently enough. > Patch please? Do you mean there is a patch to address the path issue? '*.' vs '*' Is this for Catalyst, perl, a CPAN module, IIS7? Or do you mean what patch have I installed, if so, none to my knowledge, though I have installed a few CPAN Catalyst:: modules via perl PPM for DBI, Sessions and the dependencies. 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 the plug-ins loaded are :- use Catalyst qw/ -Debug ConfigLoader Static::Simple StackTrace Session Session::Store::FastMmap Session::State::Cookie /; I've tried putting Plugin::Static::Simple insted but that falls over because it can't locate the plug-in module, I've checked PPM and I have 'Plugin::Static::Simple' Catalyst CPAN module installed so am little stumped especially with the limited beginners knowledge I have of your framework so perhaps you could advise. > Loading the wrong URI is significantly different to doing nothing, no? Yes sorry if I gave the wrong impression, perhaps I should have worded it differently as I thought I had implied 'other than', maybe this would have been a better statement... > "Now I cannot get any path to be recognised, http://mydomain/mycontroller/mymethod does nothing, *other than* load the Root.pm -> sub index :Path :Args(0) method." Which is what is happening and I hope I've made things clearer as to exactly what I'm experiencing. >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… 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 somewhere that gets written to each time the fastcgi.pl script gets executed with this information in it? Also can you guide me to where this change needs to be made 'Catalyst::Engine::prepare_path method ' for Data::Dumper:Dumper, where is the file that needs editing located? , Also is there a Catalyst method to spit out the data via Data::Dumper already integrated into the framework, or do I need to import it myself? I hope you can assist as I've been looking forward 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, 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://firstname.lastname@example.org/ 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://email@example.com/ Dev site: http://dev.catalyst.perl.org/