Might have gotten somewhere with this.

I'm using nginx and rewriting urls with www to be without www. And in
firefox I seem to be getting the following weirdness in firebug:

domainname.com, status: timeout, domain: domainname.com, size: 1.8kb,
time: 26ms
domainname.com, status: 200 OK,  domain: domainname.com, size: 1.8kb,
time: 146ms

So the request gets a timeout after 26ms for some bizzar reason. I
remoed the rewrite rules and were able to log in to admin with
firefox.

Niklas

On Feb 7, 3:18 pm, Nixarn <nix...@gmail.com> wrote:
> Having the same problem with the dev version of django. I just can't
> get into the Admin.
>
> Works fine in Chrome for some reason but with Firefox or IE I get:
>
> 403 Forbidden
>
> CSRF verification failed. Request aborted.
>
> Reason given for failure: CSRF cookie not set.
>
> And I've tried clearing the cache and cookies from the browser. All
> without luck :/
>
> Niklas
>
> On Dec 19 2009, 1:38 am, Kenneth Gonsalves <law...@au-kbc.org> wrote:
>
>
>
> > On Wednesday 16 Dec 2009 10:45:49 am Paddy Joy wrote:
>
> > > Try 'django.middleware.csrf.CsrfMiddleware' instead of
> > > 'django.contrib.csrf.middleware.CsrfMiddleware'
>
> > copied and pasted straight from the official docs
> > --
> > regards
> > Kenneth Gonsalves
> > Senior Project Officer
> > NRC-FOSShttp://nrcfosshelpline.in/web/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to