Try using $m->dhandler_arg to get the path (note that the leading
forward-slash is stripped).


Thanks,

Tim Tompkins
----------------------------------------------
Programmer / Staff Engineer
http://www.arttoday.com/


----- Original Message -----
From: Alexei V. Barantsev <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, April 24, 2000 9:06 AM
Subject: HTML::Mason and path_info


> Hello, All!
>
> I have the followin problem: HTML::Mason dhandler could not define
> path_info, it tries to select only first part. For example, if my
> request is http://server/test/hello/world and dhandler is in /test
> it decides that $r->path_info is /hello/.
>
> Looks like the problem appears early - debug file contains the
> following information about the request:
>
> 'ENV' => {
>   'SCRIPT_NAME' => '/test/hello',
>   'SCRIPT_FILENAME' => '/localhome/httpd/html/storage/test/hello',
>   'REQUEST_URI' => '/test/hello/world/',
>   'PATH_INFO' => '/world/',
>   'PATH_TRANSLATED' => '/localhome/httpd/html/storage/world/',
> },
> 'the_request' => 'GET /test/hello/world/ HTTP/1.0',
> 'path_info' => '/world/',
>
> and more more other useful information.
>
> Where is the problem's reason?
> Apache? mod_perl? HTML::Mason? My configuration?
>
> --
> ab
> ICQ: 3959207
>

Reply via email to