Skip Menu |

This queue is for tickets about the Jifty CPAN distribution.

Report information
The Basics
Id: 20405
Status: new
Priority: 0/
Queue: Jifty

People
Owner: Nobody in particular
Requestors: DONGXU [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.60616
Fixed in: (no value)



Subject: issues while running as fastcgi server
Hi, Recently I tried this interesting stuff, very nice;-) noticed that the file bin/jifty tell the root directory by the help of FindBin module, also in Jifty::Util::->app_root. while running under apache as fastcgi server FindBin::Bin points to something like /usr/sbin since the whole application is wrapped in apache. Instead of FindBin, choosing __FILE__ should be a better choice this time. Another issue I got was caused by Alias directive in apache. in this case apache introduced a base uri ( $ENV{SCRIPT_NAME} ), but all renderred pages will not honor it. For instace: in apache: Alias /weblog /path/to/my/jifty/bin/jifty/ all links in renderred page still point to /__jifty/online_doc or /post I tried to fix this issue myself. There are more than one sub to handle url parse/transformation. (View::Mason/Jifty::Web/Jifty::Form::Menu) -------- Rgrs, Dongxu