Cheers,

I don't know if this has to do with the flatpages framework, but
Django is sensitive to the trailing slash. I think some browsers add
the trailing slash automagically, and this may be the case of yours.

There is an option, the APPEND_SLASH in CommonMiddleware, that will
rewrite URLs that lack a trailing slash to be redirected to the same
URL with a trailing slash, unless the last component in the path
contains a period.
http://www.djangoproject.com/documentation/middleware/#django-middleware-common-commonmiddleware

Try adding this option to solve the problem.

Hope it helps,

G

On 9/13/06, Rob Hudson <[EMAIL PROTECTED]> wrote:
>
> I set up a flatpage for my local homebrew club to target the index
> page.  To do this I set the URL for the flatpage to be "/".
>
> Today I got a few reports that when users visited my site by typing
> "www.cascade-brewers.com" they got nothing.  But if the added the
> trailing slash "www.cascade-brewers.com/" they got the site.
>
> I tested it and it works for me -- I can't reproduce it.  But I'm
> curious if the trailing slash has anything to do with the flatpage?
>
> Thanks,
> Rob
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to