Open autarch opened 4 years ago
From jswartz@cpan.org on 2008-12-22 23:25:02 :
That code has been that way for a very long time. Can you be more specific about your situation - what is your document root, why does your URL start with /errors, etc.? Are you sure this isn't a bricolage specific problem?
On Fri Dec 12 20:14:08 2008, ideysus wrote:
I am getting an error message using the Debian packaged Mason that looks like: [Mason] Cannot resolve file to component: /errors/500.mcusr/local/bricolage/comp/ (is file outside component root?) at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 858
I suspect, therefore, that the line: $pathname .= $r->path_info unless $fs_type eq 'file'; in 1.40 would better read something like (untested): $pathname = "/".$pathname.$r->path_info unless $fs_type eq 'file';
From i.crowther@gmail.com on 2008-12-24 03:05:50 :
<URL: https://rt.cpan.org/Ticket/Display.html?id=41668 >
That code has been that way for a very long time. Can you be more specific about your situation - what is your document root, why does your URL start with /errors, etc.? Are you sure this isn't a bricolage specific problem?
On Fri Dec 12 20:14:08 2008, ideysus wrote:
I am getting an error message using the Debian packaged Mason that looks like: [Mason] Cannot resolve file to component: /errors/500.mcusr/local/bricolage/comp/ (is file outside component root?) at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 858
I suspect, therefore, that the line: $pathname .= $r->path_info unless $fs_type eq 'file'; in 1.40 would better read something like (untested): $pathname = "/".$pathname.$r->path_info unless $fs_type eq 'file';
I can't test it since I was only doing a trial with Bricolage and ended up abandoning it. I just glanced at the code and assumed it would be a simple error message formatting fix. If the message formats correctly for some people then clearly not.
Migrated from rt.cpan.org #41668 (status was 'stalled')
Requestors:
From ideysus@hassium.dyndns.org on 2008-12-13 01:14:08 :
I am getting an error message using the Debian packaged Mason that looks like: [Mason] Cannot resolve file to component: /errors/500.mcusr/local/bricolage/comp/ (is file outside component root?) at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 858
I suspect, therefore, that the line: $pathname .= $r->path_info unless $fs_type eq 'file'; in 1.40 would better read something like (untested): $pathname = "/".$pathname.$r->path_info unless $fs_type eq 'file';