Hi Malcolm,

Great; James' suggestion does work perfectly (stupidly obvious; it was
of course the one thing I hadn't tried) as suggested. If you're trying
to figure out how I got to this recipe I blindly followed the
instructions here:

http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#ChangedthewayURLpathsaredetermined

Which maybe need to change given that the rest of the config is plain-
vanilla-as-per-the-tutorial?

Regards,

Nick

On Aug 21, 6:08 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2008-08-21 at 10:02 -0700, James Matthews wrote:
> > Try FORCE_SCRIPT_NAME="" I use it and it works nicely
>
> It's always interesting after landing a feature like this that has a few
> edge cases to see where the problems distribute themselves. Turns out
> there are a lot of people using the lighttpd + fastcgi setup -- and this
> would all be a lot easier if lighttpd had some way of passing through
> the original, un-rewritten URL as well as the rewritten version (Apache
> has this facility, for example).
>
> My point here (I have one! Honest) is that I'm slowly gathering clues as
> to what pieces the documentation needs to make a bit clearer and how to
> tweak the examples to hit some common cases. That being said, I'd also
> like people to *understand* what's going on, rather than having to
> follow a "this is what worked for somebody else, so I tried it with hope
> in my heart" cut-and-paste method of configuration. Over time, we'll
> tweak the docs a bit and maybe change the quiet robustness of the code.
>
> But, for right now: the script name portion should not end in a slash.
> It is appended to the front of every generated URL. The path info
> portion (the bit you mention in Django's URLConf) will always start with
> a slash, although you don't include the leading slash in your URL conf,
> because that's already matched by the controlling URL resolver portion
> (your project's main URLConf file is essentially used as an include() in
> Django's root resolver).
>
> Regards,
> Malcolm
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to