[Catalyst] URI's problems under lighttpd

Diego Kuperman diego at freekeylabs.com
Fri Oct 20 18:59:04 CEST 2006


Jonathan Rockway wrote:
> I'm working on this; I'm pretty sure it's a bug in Catalyst.  I'll let
> the list know when I fix it.
> 
Yep, is in C::E::CGI::prepare_path() where it has to be fixed, right?

By the way, te plugin I forgot to attach to the last message fix the 
problem. I do attach it now!

But if you are going to fix in Catalyst I won't upload to CPAN the 
plugin to avoid confusion :)

> Diego Kuperman wrote:
>> Hi!
>>
>> I was having problems running my cat-app under lighttpd as fcgi. The 
>> main problem was that $c->req->base got wrong and that fucked up all 
>> methods related to req->base, I had detected this when my links stop 
>> working since uri_for() got broken...
>>
>> Searching on the list archives I found[1] that someone else has this 
>> kind of problems, not seems to be the same than mine but the solution 
>> seems to be the same:
>>
>> [1] http://lists.rawmode.org/pipermail/catalyst/2006-June/008361.html
>>
>> So I wrote a plugin[2] as suggested. I don't know if is correct to 
>> upload to CPAN or to try to fix this in some other place. Maybe on 
>> Catalyst::Engine:FastCGI ?
>>
>> [2] Attached on this email
>>
>> Isn't other people having this kind of problems under lighttpd?. I had 
>> tested on two different installations and the problem exists on both.
>>
>> This is my lighttpd configuration:
>>
>> $HTTP["host"] =~ "contactos.fcgi" {
>>      fastcgi.server >>          "" => (
>>              "Contactos" => (
>>                  "socket" => "/tmp/contactos.socket",
>>                  "check-local" => "disable"
>>              )
>>          )
>>      )
>> }
>>
>> --
>> dk!
>>
>> _______________________________________________
>> List: Catalyst at lists.rawmode.org
>> Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
>> Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
>> Dev site: http://dev.catalyst.perl.org/
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Catalyst-Plugin-LighttpdFixEnv-0.01.tar.gz
Type: application/x-gzip
Size: 9714 bytes
Desc: not available
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20061020/52f5d62b/attachment.bin 


More information about the Catalyst mailing list