Tuesday, June 1, 2010

Re: DJango Deployment

Hi,

why do you use tomcat or mod_python? Please try mod_wsgi, if
you use apache.

Thomas

PM wrote:
> Hi ,
> I am new to Django.
>
> I have developed a tool using
> Python CGI. I have been successfully deploying it using Apache Tomcat
> 5.5, from cgi/bin directory. After knowing the benefits of Django I
> have planned to complete the remaining modules using Django. I
> successfully configured deploying Django using Apache 2.2 web server
> using mod_python.so file. Now the tool is running on two different
> servers, the older Python CGI scripts are executed perfectly at port
> 8080 by Tomcat, but at port 80 ( Apache webserver) whenever a Django
> project is requested through ajax without loading the page again, the
> server times out showing 301 Moved Permanently error. What could be
> the reason and remedy for the problem ?. On keeping a href link that
> points to a Django project successfully reloads the page and shows the
> response as a new page.
>
> Should I be using Jython to deploy Django in Tomcat ?
>

--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail
: guettli (*) thomas-guettler + de

--
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.

No comments:

Post a Comment