Re: problem with deploying django using mod wsgi

2013-08-12 Thread Rob Ladd
It may be looking in html because it isn't getting the definition from the view method or class, so it's going with the default. Try importing everything in views: from webapp import views * On Saturday, August 10, 2013 3:46:19 AM UTC-4, WongoBongo wrote: > > Is your form (on page

Re: problem with deploying django using mod wsgi

2013-08-10 Thread Kelvin Wong
Is your form (on page /mice/search_mice/) submitting to /mice/search or /search Check your form element in the html document. Is it pointing to the right URL? Maybe check your WSGIScriptAlias setting. Maybe verify your DocumentRoot setting. You might also want to check the request and

Re: problem with deploying django using mod wsgi

2013-08-08 Thread sah
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

Re: problem with deploying django using mod wsgi

2013-08-07 Thread Nick Dokos
sah writes: > Though i remove those two line it did not change anything. It works > the same as before, i get the search_form page and if i give some > value for search, I get a 404 error page saying that the page is not > available in the server. > Then check the

Re: problem with deploying django using mod wsgi

2013-08-07 Thread sah
Though i remove those two line it did not change anything. It works the same as before, i get the search_form page and if i give some value for search, I get a 404 error page saying that the page is not available in the server. On Wednesday, August 7, 2013 5:25:01 PM UTC-4, sah wrote: > >

Re: problem with deploying django using mod wsgi

2013-08-07 Thread Bill Freeman
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. Bill On Wed, Aug 7, 2013 at 5:25 PM, sah wrote: > Hello , I am trying to deploy django using apache

problem with deploying django using mod wsgi

2013-08-07 Thread sah
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 Order deny,allow Allow from all AddHandler