I have this error in the error_log file :

 [error] [client 10.10.8.41] File does not exist: /var/www/html/search, 
referer: http://tarinformatics03/mice/search_mice/

search is one of my view function why is it looking for it in the html 
directory ??


On Wednesday, August 7, 2013 5:25:01 PM UTC-4, sah 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.so
>
> WSGIScriptAlias /mice /home/getMice/webproject/wsgi.wsgi
> <Directory /home/getMice/webproject>
>
> <Files wsgi.wsgi>
>     Order deny,allow
>     Allow from all
>     AddHandler wsgi-script .wsgi
>     SetHandler wsgi-script
> </Files>
> </Directory> 
>
> ----------------------------------------------------------------------------------------------
>
> My views file has two functions 
>
> One is a search_form and other is a search results ,vi
>
> I 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 settings
>
> from webapp import views
>
>
>
> urlpatterns = 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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to