Opened 10 years ago

Closed 10 years ago

#3244 closed defect (invalid)

https and admin "User tampered with session cookie"

Reported by: pegges@… Owned by: adrian
Component: contrib.admin Version: 0.95
Severity: normal Keywords:
Cc: tom@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


I'm trying to setup the basic tutorial. When I try to login to the admin page I get the
"User tampered with session cookie" error.
I'm running apache 2.0.55-4

I'm trying to enter the site via https not http. I would not think that would cause a problem.

If this is my error, my apologies.

apache configuration is

ProxyRequests Off
SSLCACertificateFile /etc/ssl/certs/
SSLCertificateFile /etc/ssl/certs/mail1_hookedonflies_com.crt
SSLCertificateKeyFile /etc/ssl/certs/myserver.key

#SSLCertificateFile /etc/ssl/crt/mail1_hookedonflies_com.crt
#SSLCertificateKeyFile /etc//ssl/key/mail1_hookedonflies_com.key
SSLEngine On
Alias horde3 /usr/share/horde3
DocumentRoot /var/www/mysite/
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    PythonPath "['/home/tallpaul']+sys.path"
    SetEnv DJANGO_SETTINGS_MODULE mysite.settings
    PythonDebug On
    PythonAutoReload On

Change History (3)

comment:1 Changed 10 years ago by Thomas Steinacher <tom@…>

I also had this error a few days ago when using SSL, but I'm not sure if it's SSL related (I didn't test it without SSL). Do you have PHP5?
Take a look at and

comment:2 Changed 10 years ago by Thomas Steinacher <tom@…>

  • Cc tom@… added

comment:3 Changed 10 years ago by Michael Radziej <mir@…>

  • Resolution set to invalid
  • Status changed from new to closed

Please browse the email archives for this problem. We don't do any support in the ticket system, but you can send an email to django-users.

Note: See TracTickets for help on using tickets.
Back to Top