On Fri, 2006-08-04 at 02:51 +0000, Hale wrote: > Hey all, > > I've got version 0.95 installed and it all works fine from the built in > webserver on my FC5 machine. Works awesome. But when I move to > running it behind modpython on Fedora5's apache, the admin stops > working - more accurately I get a blank screen. Nothing. Not an error > from the browser or from modpython. If I view the source of the doc > there is nothing there. That means it is getting the Http header, > right?
Hard to say. What does the output of "curl -i http://...." look like? That will show you the headers, response code, the whole nine yards. You can see the same thing with Firefox's web developer extension, too. > It's really weird. The only other app in the project with > only 1 view works fine in this setup. It's is pretty simple right now > with a simple HttpResponse. > > My httpd.conf (really in my python.conf but I can't see how that'll > matter) > > <Location "/"> > SetHandler mod_python > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE ae.settings > #This is the project - it is in my site-packages > PythonDebug On > #PythonAutoReload On > </Location> > > I've copied the media folder to my www root for apache to find. This > is a really simple application with a urls.py: > > (r'^gear/$', 'ae.gear.views.index'), <- This works fine > (r'^admin/', include('django.contrib.admin.urls')), > > I'm using sqlite3 for a db. Do you think its a media thing? Any help > would really be appreciated; I'm certainly at a loss. Thanks in > advance. Does anything appear in /var/log/httpd/error_log? Also, note that sqlite3 does not work with mod_python at the moment. You will see real crashes from the backend. We aren't using the backend in a thread-safe fashion unfortunately. At a minimum, that is fixed with Jason Pellerin's multi-db backend changes, although they are a little way from being committed yet. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---