thnx, i've figured it out. the issue i'm having now is with my django
requirements in it:
<Location "/">
SetHandler python-program
PythonPath "['/home/chris/web/django_project'] + sys.path"
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE ucwv.settings
PythonDebug On
</Location>
<Location "/media/">
SetHandler None
</Location>
<LocationMatch "\.(jpg|gif|png)$">
SetHandler None
</LocationMatch>
in /django_project/ is my project ucwv. i'm getting this error:
Mod_python error: "PythonHandler django.core.handlers.modpython"
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/mod_python/apache.py", line
299, in HandlerDispatch
result = object(req)
File "/usr/lib/python2.4/site-packages/django/core/handlers/
modpython.py", line 222, in handler
return ModPythonHandler()(req)
File "/usr/lib/python2.4/site-packages/django/core/handlers/
modpython.py", line 185, in __call__
self.load_middleware()
File "/usr/lib/python2.4/site-packages/django/core/handlers/
base.py", line 31, in load_middleware
for middleware_path in settings.MIDDLEWARE_CLASSES:
File "/usr/lib/python2.4/site-packages/django/conf/__init__.py",
line 28, in __getattr__
self._import_settings()
File "/usr/lib/python2.4/site-packages/django/conf/__init__.py",
line 59, in _import_settings
self._target = Settings(settings_module)
File "/usr/lib/python2.4/site-packages/django/conf/__init__.py",
line 94, in __init__
raise ImportError, "Could not import settings '%s' (Is it on
sys.path? Does it have syntax errors?): %s" % (self.SETTINGS_MODULE,
e)
ImportError: Could not import settings 'ucwv.settings' (Is it on
sys.path? Does it have syntax errors?): No module named ucwv.settings
On Sep 8, 5:48 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > Setting our Apache server at work, got everything installed. In the
> > httpd.conf there's quite a bit of content, do I need that content, or
> > should I just replace it with what I need for Django?
>
> You probably don't need all of it. But I doubt anything will work if
> you get rid of all of it. You need to add what Django requires.
>
> But, it sounds like you don't know/understand Apache conf files which
> you probably should.
>
> --
> Norman J. Harman Jr.
> Senior Web Specialist, Austin American-Statesman
> ___________________________________________________________________________
> Get off the sidelines and huddle up with the Statesman all season long
> for complete high school, college and pro coverage in print and online!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---