hello,

I'm trying to run a apache-server with my django code.  Starting
apache with "sudo apachectl start" gives next output:

telenetPC:~ root# apachectl start
httpd: apr_sockaddr_info_get() failed for telenetPC
httpd: Could not reliably determine the server's fully qualified
domain name, using 127.0.0.1 for ServerName

connecting to 127.0.0.1 gives the "it works" page. My httpd.conf looks
like:

LoadModule python_module /usr/local/apache2/modules/mod_python.so

<Location "/tom/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE tom.settings
    PythonPath "['/Users/eenpint/Documents/workspace/projects/', '/
Users/eenpint/Documents/workspace/django'] + sys.path"
    PythonOption django.root /tom
    PythonDebug On
</Location>

and my url.py is

urlpatterns = patterns('',
  (r'^tom/offerte/offerte/(?P<offerte_id>\d+)/render/html/',
offerte.views.offerte2html),
)

connecting to a url

http://127.0.0.1/tom/offerte/offerte/1/render/html/

fails.

any suggestions?

thanks,

tom

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to