Okay, so whenever I request anything through my apache server I get a
404 error. Here are my configuration files.

Apache:
<VirtualHost *>
DocumentRoot /home/chainsofheaven.net/html
ServerName chainsofheaven.net
ServerAlias *.chainsofheaven.net
<Directory "/home/chainsofheaven.net/html">
allow from all
Options +Indexes
</Directory>
<Location "/">
SetHandler python.program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE html.settings
PythonDebug On
PythonPath "['/home/chainsofheaven.net/html', '/usr/lib/python2.4/site-
packages'] + sys.path"
</Location>
</VirtualHost>

urls.py:
from django.conf.urls.defaults import *

urlpatterns = patterns('',
    # Example:
    # (r'^html/', include('html.foo.urls')),

    # Uncomment this for admin:
     (r'^admin/', include('django.contrib.admin.urls')),
)


The error.log entries generated:
[Mon Apr 07 09:35:15 2008] [notice] SIGHUP received.  Attempting to
restart
[Mon Apr 07 09:35:15 2008] [notice] mod_python: Creating 8 session
mutexes based on 150 max processes and 0 max threads.
[Mon Apr 07 09:35:15 2008] [notice] mod_python: using mutex_directory /
tmp
[Mon Apr 07 09:35:15 2008] [notice] Apache/2.2.3 (Debian) mod_python/
3.2.10 Python/2.4.4 PHP/5.2.0-8+etch10 configured -- resuming normal
operations
[Mon Apr 07 09:35:17 2008] [error] [client 68.34.229.145] Attempt to
serve directory: /home/chainsofheaven.net/html/


I'm not sure what the problem is here. At this point I have nothing
deployed except the admin interface.
--~--~---------~--~----~------------~-------~--~----~
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