Fran Fabrizio wrote:

> 
> In my conf file, I have the following directives:
> 
> <Location /rms>
>    AuthType Apache::AuthCookieRMSDBI
>    AuthName RMS
>    PerlAuthenHandler Apache::AuthCookieRMSDBI->authenticate
>    PerlAuthzHandler Apache::AuthCookieRMSDBI->authorize
>    require valid-user
> </Location>
> 
> <Location /rms/module>
>  SetHandler perl-script
>  PerlHandler RMS::Control::Module->handler
> </Location>
> 
> When I call the URL /rms/module/foo, and in 
> RMS::Control::Module->handler I examine $r->path_info, I get as a value 
> '/module/foo' rather than the expected '/foo'.  If apache recognized 
> that /rms/module/foo was to go to RMS::Control::Module->handler then it 
> knows that /rms/module is the script name and thus should know that 
> path_info should be just /foo, right?


we illustrate this in the cookbook on pp 156-157.

I'm not exactly sure why this happens internally, but its an Apache 
thing and not a mod_perl thing.  An Alias directive will probably set 
things straight for you.

--Geoff


Reply via email to