Hi all,

I've started playing with Django and stumbled upon a very strange problem.

I've created a small test application with just a single app in there
which renders some static HTML. I've also enabled the automatic admin
side which seems to work just fine when I run the development server.

I've then moved the whole thing to MacOSX Leopard using the built-in
Apache and mod_python 3.3.1. Everything works fine as well, except for
the admin side on Safari. Whenever I try to login to the admin side on
Safari, I get the message:

Looks like your browser isn't configured to accept cookies. Please
enable cookies, reload this page, and try again.

If I try the same on Windows IE, Windows FireFox, Mac Firefox, it
works just fine.

I've tried emptying the cache of safari, but that didn't change a
thing. I've also recreated the db and flushed the session table, but
again, no difference.

Here's the mod_python config I'm using:

<VirtualHost *:80>

    ServerName django_test.local

    <Location "/">
        SetHandler python-program
        PythonDebug Off
        PythonAutoReload Off
        PythonInterpreter django_test
        PythonHandler django.core.handlers.modpython
        PythonPath "['/web_projects'] + sys.path"
        SetEnv DJANGO_SETTINGS_MODULE django_test.settings
    </Location>

    Alias /media "/Library/Python/2.5/site-packages/django/contrib/admin/media"
    <Directory "/Library/Python/2.5/site-packages/django/contrib/admin/media">
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    <Location "/media/">
        SetHandler None
    </Location>

</VirtualHost>

Anyone an clue what could be causing this? I'm using django-trunk (rev
7725) on MacOS X 10.5.3.

Cheers,


pieter

-- 
pieter claerhout . [EMAIL PROTECTED] . http://www.yellowduck.be/

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