-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Alessandro Ronchi escribió: > > > On 13 Lug, 15:24, "Alessandro Ronchi" <[EMAIL PROTECTED]> > wrote: >> With apache and mod_python, and this configuration: > > I've changed my configuration as follows. I get an 500 error but > nothing goes to apache error.log, and I don't know what's the problem. > How can I solve that? > > > <VirtualHost *> > ServerName www.corrierecooperativo.it > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /home/www/html/corrierecooperativo.it > > <Location "/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > PythonPath "['/home/django/django_projects/'] + sys.path" > SetEnv DJANGO_SETTINGS_MODULE > legacoopfc.settings_corrierecooperativo > PythonDebug On > </Location> > <Location "/files"> > SetHandler None > </Location> > > </VirtualHost> >
Do you get a 500 with nothing else? Then your problem is in the apache error log, /var/log/apache/error_log Else, you should get either a django error page or a mod_python error uncaught by django. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGnJuRN+WrACaI1wcRAj+jAJ4nLUVevmzmI3W6rwYXp3Zn9ZqPjQCeN+7N iD5I9Vi5/PteIJMxBb+Zp/U= =5hkQ -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---