Re: PATH_INFO missing first part

2007-04-06 Thread Bram - Smartelectronix
Dirk Eschler wrote: > > i had a very similiar problem once. It turned that i had a "DocumentRoot" > defined in my vhost config and that caused weird PATH_INFO problems. Django > doesn't care about the DocumentRoot (IMHO), so i just removed it, but it took > me quite a while to figure that out.

Re: PATH_INFO missing first part

2007-04-05 Thread Dirk Eschler
On Donnerstag, 5. April 2007, Bram - Smartelectronix wrote: > Malcolm Tredinnick wrote: > > This looks correct. Not sure why it isn't working, sorry. If you wanted > > to do some more poking around, we set up PATH_INFO in > > django/core/handlers/modpython.py, so you could put some debugging in >

Re: PATH_INFO missing first part

2007-04-05 Thread Bram - Smartelectronix
Malcolm Tredinnick wrote: > This looks correct. Not sure why it isn't working, sorry. If you wanted > to do some more poking around, we set up PATH_INFO in > django/core/handlers/modpython.py, so you could put some debugging in > there to see what the value we get from modpython is. I'm reluctant

Re: PATH_INFO missing first part

2007-04-05 Thread Malcolm Tredinnick
On Thu, 2007-04-05 at 15:12 +0200, Bram - Smartelectronix wrote: > Malcolm Tredinnick wrote: > > On Thu, 2007-04-05 at 14:36 +0200, Bram - Smartelectronix wrote: > >> Hello everyone, > >> > >> > >> mod_python 3.3.1 > >> apache 2.0.52 > >> python 2.5 > >> django trunk, updated 5 minutes ago > >> >

Re: PATH_INFO missing first part

2007-04-05 Thread Bram - Smartelectronix
Malcolm Tredinnick wrote: > On Thu, 2007-04-05 at 14:36 +0200, Bram - Smartelectronix wrote: >> Hello everyone, >> >> >> mod_python 3.3.1 >> apache 2.0.52 >> python 2.5 >> django trunk, updated 5 minutes ago >> >> I go to http:/example.com/a/b/c/d/ and PATH_INFO returns /b/c/d/ losing >> the firs

Re: PATH_INFO missing first part

2007-04-05 Thread Malcolm Tredinnick
On Thu, 2007-04-05 at 14:36 +0200, Bram - Smartelectronix wrote: > Hello everyone, > > > mod_python 3.3.1 > apache 2.0.52 > python 2.5 > django trunk, updated 5 minutes ago > > I go to http:/example.com/a/b/c/d/ and PATH_INFO returns /b/c/d/ losing > the first bit! This for any URL. We need s