HTML::Mason::CGIHandler sets the component to be PATH_INFO.
However FakeApache expects uri to be SCRIPT_NAME + PATH_INFO.
lighttpd/fastcgi have my environment set up so that PATH_INFO is naturally
blank.
I populate it, and CGIHandler is happy (or rather Interp is).
However when I call $r->uri through FakeApache I then get a doubling up of
paths.
I could obviously do $ENV{SCRIPT_NAME} = '', which would solve it.
However it seems that these two should fit together naturally.
Either CGIHandler should use script_name in place of path_info, or
FakeApache shouldn't put them together like this.
Am I missing something?
Thanks
Gareth
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users