Greetings!

I'm using Apache 2.2.4 with mod_perl 2.0.3.

I've got a mod_perl handler setup like so, within a vhost:

<Location /myapp>
        SetHandler perl-script
        PerlResponseHandler MyApp::Dispatcher
</Location>

Under this setup, if I navigate to /myapp/foo/bar/baz, I get:

PATH_INFO => /foo/bar/baz
SCRIPT_NAME => /myapp

This makes sense. However, if I then change the Location block from
/myapp to /, the behavior changes:

PATH_INFO => /bar/baz
SCRIPT_NAME => /foo

This breaks my dispatcher, which expects to see everything under the
Location as the PATH_INFO. Is this consistent with how PATH_INFO is
supposed to work, and if so is there a way to make it do what I want?

Thanks for any help!


Mike

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to