deployment on xampp - httpd.conf question
I've got a project named djangocart. I'm not releasing it to
production - it is just a personal project that I want to serve from
Apache on XAMPP rather than Django's server. I'm using mod_python
rather thjan mod_wsgi.
I place it at c:\xampp\htdocs
By adding the following to httpd.conf the site works fine
<Location "/">
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE djangocart.settings
PythonDebug Off
PythonPath "['C:/xampp/htdocs', 'C:/xampp/htdocs/djangocart'] +
sys.path"
</Location>
However what I really want is to define it at Location <Location "/
djangocart"> not / which is for the xampp home page.
I've tried many ways of configuring httpd.conf with <Location "/
djangocart">, but the site links won't work.
Anyone know how to set up httpd.conf given my scenario?
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home