This forum is no longer active. Please post your questions to our new community site

no matching url ?

Subscribe to no matching url ? 2 post(s), 2 voice(s)

 
Avatar vincentdavis 1 post

you can view the error I get here
http://vincentdavis.info:8080/pydocweb/

I have pydocweb installed and it runs from python./manage runserver but I get get it to run as in non dev mode.
http://github.com/pv/pydocweb

It seems I have a url problem but not sure where. Below is my django.conf file
<location ‘/pydocweb’>
SetHandler python-program
PythonHandler django.core.handlers.modpython
PythonPath “[‘/Applications/djangostack/projects’, ‘/Applications/djangostack/projects/pydocweb’, ‘/Applications/djangostack/projects/pydocweb/docweb’] + sys.path”
SetEnv DJANGO_SETTINGS_MODULE pydocweb.settings
PythonOption django.root /pydoceweb
PythonDebug On

Thanks
Vincent

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Now it includes mod_wgsi. This is an example for an application configuration file:


import os, sys
sys.path.append('/home/bitrock/djangostack-1.2.3-0/projects')
sys.path.append('/home/bitrock/djangostack-1.2.3-0/projects/Project')
os.environ['DJANGO_SETTINGS_MODULE'] = 'Project.settings'
import django.core.handlers.wsgi
application = django.core.handlers.wsgi.WSGIHandler()