Re: Missing 1st segment in PATH_INFO using mod_python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> On 8/21/07, Peter Melvyn <peter.melvyn@xxxxxxxxx> wrote:
>
> > Please, could anybody advice how to achieve the PATH_INFO will contain
> > full path if request is routed to mod_python
>
> Well, I'm not sure what the "correct" value for PATH_INFO is in this
> case

Yes, you are right - it would be probably said explicitelly for each
virtual locations.

> but why not just use REQUEST_URI instead?

Because we made a bad decission: if we learned Django framework, we
probably studied incorrect descendant of http.request, which assignes
PATH_INFO into request.path attribute. Reviewing Django sources again,
I found that correct mod_python's request assignes REQUEST_URI to
path.

OK, we will replace PATH_INFO by REQUEST_URI.


Thanks for your help,


Peter

---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux