Re: Weird URL problem

2009-06-12 Thread James Bennett
On Fri, Jun 12, 2009 at 7:07 PM, Kenneth Gonsalves wrote: > I always set it for VirtualHost - AFAIK the docs say to do so. No. The docs say to set it to the prefix under which the site is being served. If the site is located at the root of the server -- e.g., "/" -- then it is not being served u

Re: Weird URL problem

2009-06-12 Thread Kenneth Gonsalves
On Saturday 13 June 2009 05:37:56 Kenneth Gonsalves wrote: > > Commenting out that line solved the problem. We're using > > a VirtualHost definition, so it seems django.root should > > not be set for a VirtualHost. > > I always set it for VirtualHost - AFAIK the docs say to do so. to clarify, I h

Re: Weird URL problem

2009-06-12 Thread Kenneth Gonsalves
On Friday 12 June 2009 18:35:33 Lars Stavholm wrote: > > Notice the Request URL, there's a slash missing, > > something along the way removed the slash. > > > > If I try http://mbf//jobs, I end up at the right place. > > > > Can anyone tell me what it is that is removing that slash? > > Found the

Re: Weird URL problem

2009-06-12 Thread Lars Stavholm
Lars Stavholm wrote: > Hi All, > > got a problem that's slowly driving me crazy: > > http://mbf takes me to my apache+mod_python+django application. > > However, if I click a link, e.g. http://mbf/jobs, I get the > following exception: > > TypeError at jobs/ > 'NoneType' object is not iterable

Weird URL problem

2009-06-12 Thread Lars Stavholm
Hi All, got a problem that's slowly driving me crazy: http://mbf takes me to my apache+mod_python+django application. However, if I click a link, e.g. http://mbf/jobs, I get the following exception: TypeError at jobs/ 'NoneType' object is not iterable Request Method: GET Request URL: h