[Catalyst] mod_fcgid on win32

Alan Hicks ahicks at p-o.co.uk
Wed Mar 10 18:07:55 GMT 2010



fREW Schmidt wrote:
> Ok, so I may be getting somewhere with this, but I can't tell.
> 
> I installed the .dll found here: http://www.fastcgi.com/dist/ and now my 
> config looks like the following:
> 
> <VirtualHost *:8080>
>    DocumentRoot "C:/aircraft_ducting/root/"
>    Alias /static "C:/aircraft_ducting/root/static"
>    FastCgiServer "C:/aircraft_ducting/script/acd_fastcgi.fcgi" -processes 3
> 
>    #Alias / "C:/aircraft_ducting/script/acd_fastcgi.fcgi"
>    Alias / "C:/aircraft_ducting/script/acd_fastcgi.fcgi/"
>    <Location /static>
>       SetOutputFilter DEFLATE
>       SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary
>       SetHandler default-handler
>    </Location>
> </VirtualHost>
> 
> When I run the fastcgi script manually from the commandline it prints 
> out our root page, which seems like a good sign.
> 
> Yet when I go to host:8080 I get a 500 and the following is printed in 
> the logs:
> 
> [Thu Jan 28 21:10:07 2010] [warn] FastCGI: server 
> "C:/aircraft_ducting/script/acd_fastcgi.fcgi" (pid 788) terminated with 
> exit with status '0'
> [Thu Jan 28 21:10:07 2010] [warn] FastCGI: server 
> "C:/aircraft_ducting/script/acd_fastcgi.fcgi" restarted (pid 944)
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> $ENV{"REMOTE_ADDR"} in string ne at 
> C:/usr/site/lib/Catalyst/Engine/CGI.pm line 61.
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> $ENV{"SERVER_PORT"} in numeric eq (==) at 
> C:/usr/site/lib/Catalyst/Engine/CGI.pm line 85.
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> $host in pattern match (m//) at C:/usr/site/lib/Catalyst/Engine/CGI.pm 
> line 136.
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> $host in substitution (s///) at C:/usr/site/lib/Catalyst/Engine/CGI.pm 
> line 185.
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> $host in concatenation (.) or string at 
> C:/usr/site/lib/Catalyst/Engine/CGI.pm line 196.
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> $host in concatenation (.) or string at 
> C:/usr/site/lib/Catalyst/Engine/CGI.pm line 204.
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> in string eq at C:/usr/site/lib/Catalyst/Action/RenderView.pm line 52.
> [Thu Jan 28 21:10:12 2010] acd_fastcgi.fcgi: Use of uninitialized value 
> in string eq at C:/usr/site/lib/Catalyst.pm line 1714.
> 
> Any ideas on what I might try next?

Not sure if this is still an issue but I'm getting the same 
uninitialized error, tracked it down to using either of the plugins 
FormValidator or FormValidator::Simple.  As I don't know enough about 
the plugins, no one else appears to be having this issue, and prefer the 
nicer FormFu I'm currently refactoring to that instead, initial results 
are good.

Alan

> 
> -- 
> fREW Schmidt
> http://blog.afoolishmanifesto.com
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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/



More information about the Catalyst mailing list