[Catalyst] Canot get application working on IIS7 via FastCGI
webmaster at cosmicperl.com
Tue Oct 23 21:03:47 GMT 2012
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 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?
More information about the Catalyst