I think that AddHandler stuff sounds like a ghost of mod_python days. I don't use it in my mod_wsgi deployments.
See http://code.google.com/p/modwsgi/ for good information.On Wed, Aug 7, 2013 at 5:25 PM, sah <sp3133@nyu.edu> wrote:
Hello , I am trying to deploy django using apache and mod_wsgi but not able to , can anyone help me on this :httpd.conf--------------LoadModule wsgi_module modules/mod_wsgi.soWSGIScriptAlias /mice /home/getMice/webproject/wsgi.wsgi<Directory /home/getMice/webproject><Files wsgi.wsgi>Order deny,allowAllow from allAddHandler wsgi-script .wsgiSetHandler wsgi-script</Files></Directory>
----------------------------------------------------------------------------------------------My views file has two functionsOne is a search_form and other is a search results ,viI am able to get the search_form page but when i give input i dont get the results page.urls.py----------from django.conf.urls.defaults import *from django.conf import settingsfrom webapp import viewsurlpatterns = patterns('',url(r'^search_mice/$', views.search_mice) ,url(r'^search/$', views.search),)Please help me with this .Thanks--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment