I get an (unhelpful) xampp error message that reads
Microsoft Visual C++ Runtime Library --------------------------- Runtime Error! Program: C:\xampp\apache\bin\httpd.exe R6034 An application has made an attempt to load the C runtime library incorrectly. Please contact the application's support team for more information. Furthermore, the following is in my apache errors.log [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] mod_wsgi (pid=2136): Target WSGI script 'C:/xampp/htdocs/testproject/apache/ django.wsgi' cannot be loaded as Python module. [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] mod_wsgi (pid=2136): Exception occurred processing WSGI script 'C:/xampp/htdocs/ testproject/apache/django.wsgi'. [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] Traceback (most recent call last): [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] File "C:/xampp/ htdocs/testproject/apache/django.wsgi", line 6, in <module> [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] import django.core.handlers.wsgi [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\Lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 8, in <module> [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] from django import http [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\Lib\\site-packages\\django\\http\\__init__.py", line 5, in <module> [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] from urllib import urlencode [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\urllib.py", line 26, in <module> [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] import socket [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] File "C:\ \Python26\\lib\\socket.py", line 46, in <module> [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] import _socket [Fri Jul 31 12:04:18 2009] [error] [client 127.0.0.1] ImportError: DLL load failed: A dynamic link library (DLL) initialization routine failed. On Jul 31, 2:48 pm, Karen Tracey <kmtra...@gmail.com> wrote: > On Fri, Jul 31, 2009 at 8:36 AM, Michael Ralan <mr5...@gmail.com> wrote: > > > Hi, > > > I've searched the internet and come across a couple of pages > > ostensibly showing how this is done, but even the django documentation > > itself (sans being xampp-specific) has not met me with success. > > > I got to the point where I've installed mod_wsgi, set up the test app > > but am struggling with the changes I need to make to http.conf. I've > > done them but when I request a page, httpd.exe throws an error > > complaining about it trying to load a library incorrectly. > > Details of this error may help people help you. Trying to spot what might > be wrong in the absence of the specifics of the error that gets reported is > making things needlessly hard on potential helpers. > > Karen --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---