using mod_python and django3.02??

2020-05-19 Thread Robert O.
I wrote a django site (django3.02) and want to deploy it using mod_python. Is that even doable/ reasonable?. Do I need to use django version <1.5? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: What's wrong with the Basic configuration of apache and mod_python?

2013-05-10 Thread lx
gdnsplus_conf/www/mysite /var/www/html/gdnsplus_conf > > the version of django is:1.4.5 > the version of mod_python is:3.3.1 > the directory of of django app is: /usr/local/gdnsplus_conf/www/mysite > the context of app is: > ll /usr/local/gdnsplus_conf/www/mysite > total 184 &

What's wrong with the Basic configuration of apache and mod_python?

2013-05-09 Thread lx
PythonDebug On PythonPath "['/var/www/html', '/usr/local/gdnsplus_conf/www/mysite'] + sys.path" I have done: ln -sf /usr/local/gdnsplus_conf/www/mysite /var/www/html/gdnsplus_conf the version of django is:1.4.5 the version of mod_python is:3.3.1 the

Re: [Apache] Trouble deploying my web app with mod_python

2012-11-14 Thread Issam Outassourt
Well I started discovering django through the djangobook. I'll try wsgi and let you know. Thabks for your help Le 14 nov. 2012 14:21, a écrit : > ** > Hi Isaam! > > Do you have a specific reason for using mod_python? > > This module is old and deprecated. The recommen

Re: [Apache] Trouble deploying my web app with mod_python

2012-11-14 Thread jirka . vejrazka
Hi Isaam! Do you have a specific reason for using mod_python? This module is old and deprecated. The recommended way is to use other modules, many people use mod_wsgi which is really simple to deploy and use. HTH Jirka -Original Message- From: Issam Outassourt Sender

[Apache] Trouble deploying my web app with mod_python

2012-11-14 Thread Issam Outassourt
Hi all, I've got a problem deploying my new app that i designed on my personal server that i run on my computer and i would like some help to deal with this. Here's the problem. You can see down here what happens when I try to visualize my home page : ServerName: '127.0.1.1' DocumentRoot: '

Re: mod_python doesn't work propoerly

2012-09-04 Thread Tom Evans
On Tue, Sep 4, 2012 at 8:06 AM, Maheshakya Wijewardena wrote: > I want to use django with apache server, but it needs mon_python > > I've been trying to install mod_python ( > mod_python-3.3.1.win32-py2.5-Apache2.2_2.exe ), but the following errors > occur during the install

mod_python doesn't work propoerly

2012-09-04 Thread Maheshakya Wijewardena
I want to use django with apache server, but it needs mon_python I've been trying to install mod_python ( mod_python-3.3.1.win32-py2.5-Apache2.2_2.exe ), but the following errors occur during the installation 1. could not create mod_python-py2.5 2. could not set key value Python 2.5 mod_p

Re: configure apache and mod_python

2012-07-11 Thread Timothy Makobu
be sure that problem! As > > I put apache and mod_python to work? > > mod_python is deprecated - please do not use it. Use apache and mod_wsgi > instead. > -- > regards > Kenneth Gonsalves > > -- > You received this message because you are subscribed to the Google G

Re: configure apache and mod_python

2012-07-11 Thread kenneth gonsalves
On Wed, 2012-07-11 at 01:03 -0300, Carlos Andre wrote: > Hi, i'm with a hard problem. also, my apache have a problem he not > want be stated, i try use the xamppy and now be sure that problem! As > I put apache and mod_python to work? mod_python is deprecated - please do not use

configure apache and mod_python

2012-07-11 Thread Carlos Andre
Hi, i'm with a hard problem. also, my apache have a problem he not want be stated, i try use the xamppy and now be sure that problem! As I put apache and mod_python to work? Please help i need this! I've tried a lot for tutorials that do not explain, those who have used it wrong! thanks

Re: Django+ oracle, working with apache(mod_python, wsgi) and in runserver, ora-03114 in fastcgi

2011-03-01 Thread Ian
On Mar 1, 10:26 am, Ian wrote: > It appears that the error is actually from the previous (working) > request when Django subsequently tries to close the database > connections and fails, and since the error goes uncaught, it kills the > server. > > It's pretty weird that it would fail in this way.

Re: Django+ oracle, working with apache(mod_python, wsgi) and in runserver, ora-03114 in fastcgi

2011-03-01 Thread Ian
On Mar 1, 4:23 am, lipt0n wrote: > Django 1.2.3 > python 2.6 > cx_oracle 5.0.4 > oracle 10 XE > > $ cat /var/log/nginx/localhost.error_log > 2011/02/28 16:52:39 [error] 11159#0: *47 FastCGI sent in stderr: > "Traceback (most recent call last): >   File "/usr/lib/python2.6/site-packages/flup-1.0.3.

Re: Django+ oracle, working with apache(mod_python, wsgi) and in runserver, ora-03114 in fastcgi

2011-03-01 Thread lipt0n
nect() failed (111: Connection refused) while connecting to upstream, client: 192.168.1.105, server: localhost, request: "GET /accounts/menuleft/ 122/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "192.168.1.50", referrer: "http://192.168.1.50/accounts/menule

Re: Django+ oracle, working with apache(mod_python, wsgi) and in runserver, ora-03114 in fastcgi

2011-02-28 Thread Ian
On Feb 28, 10:04 am, lipt0n wrote: > Hi > my application works fine in apache as mod_python and wsgi, also work > great when I run manage.py runserver > but I have to move it on nginx. > > so I run it by 'python2.6 manage.py runfcgi host=127.0.0.1 port=9001 -- > setting

Re: Django+ oracle, working with apache(mod_python, wsgi) and in runserver, ora-03114 in fastcgi

2011-02-28 Thread lipt0n
is working 3) go to http://localhost <- error 4) kill fcgi, run "1" point again 5) go to http://localhost <- page is working 6) go to http://localhost <- error On 28 Lut, 16:04, lipt0n wrote: > Hi > my application works fine in apache as mod_python and wsgi, also work

Django+ oracle, working with apache(mod_python, wsgi) and in runserver, ora-03114 in fastcgi

2011-02-28 Thread lipt0n
Hi my application works fine in apache as mod_python and wsgi, also work great when I run manage.py runserver but I have to move it on nginx. so I run it by 'python2.6 manage.py runfcgi host=127.0.0.1 port=9001 -- settings=settings' and it works fine until it have to connect to th

Re: first time deploying django on apache with mod_python on fedora 8

2011-01-28 Thread ashwoods
is there any reason you are using mod_python instead of, say, wsgi? modpython is deprecated and there are "better" alternatives. id start with that. looking in apache logs to find out why you have the 500 error might help. (a hunch tells me it might be a python path error) ash On 28 J

first time deploying django on apache with mod_python on fedora 8

2011-01-28 Thread n0h8dy
Hi, I'm trying to get my first Django app up and running on amazon ec2 fedora 8 instance on apache with mod_python. I've got mod_python MySQL- python python-devel Django mysql-server installed. I've got the homepage to show up, but its a very simple view that just returns text

Re: In Apache Configuration, What Replaces mod_python

2011-01-24 Thread Patrick McDonnell
On Mon, Jan 24, 2011 at 10:10 AM, octopusgrabbus wrote: > I'm trying to reconfigure to mod_wsgi and am wisely starting with a > workstation. > > If I'm understanding you correctly, you're trying to migrate from using apache/mod_python to serve your Django project to

Re: In Apache Configuration, What Replaces mod_python

2011-01-24 Thread Daniel Roseman
On Monday, January 24, 2011 3:10:17 PM UTC, octopusgrabbus wrote: > > I'm trying to reconfigure to mod_wsgi and am wisely starting with a > workstation. > > What changes in this line which is in full context below: > PythonHandler django.core.handlers.modpython > > modpython changes, but to wha

In Apache Configuration, What Replaces mod_python

2011-01-24 Thread octopusgrabbus
I'm trying to reconfigure to mod_wsgi and am wisely starting with a workstation. What changes in this line which is in full context below: PythonHandler django.core.handlers.modpython modpython changes, but to what does it change? Listen 8002 WSGIScriptAlias / /home/amr/django/django.wsgi Alias

Weird session behavior with mod_python

2010-11-27 Thread Thilo-Alexander Ginkel
Hello everyone, I am currently trying to debug some weird session handling issues for a Django application (Review Board), which is running on top of mod_python / Apache: What seems to happen is that authenticated user sessions are leaking and get re-used for new browser sessions that have never

RE: Django mod_python under apache

2010-11-16 Thread Sells, Fred
ango-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Graham Dumpleton Sent: Saturday, November 13, 2010 1:28 AM To: Django users Subject: Re: Django mod_python under apache For mod_python the result of using print will only show in Apache error log when you do an explicit flush of

Re: Django mod_python under apache

2010-11-12 Thread Graham Dumpleton
For mod_python the result of using print will only show in Apache error log when you do an explicit flush of stdout. If using mod_wsgi, it autoflushes on newline so you don't have this problem. Graham On Nov 13, 7:29 am, vivek_12315 wrote: > I have configured Django with mod_python unde

Re: Django mod_python under apache

2010-11-12 Thread Kenneth Gonsalves
On Fri, 2010-11-12 at 12:29 -0800, vivek_12315 wrote: > I have configured Django with mod_python under apache web server. > > do not do this - mod_python is dead and is now officially deprecated by django. Use mod_wsgi instead. -- regards Kenneth Gonsalves Senior Associate NRC-FOSS

Re: Django mod_python under apache

2010-11-12 Thread Shawn Milochik
The recommended way to do this is to actually use Python's logging module. If you're using trunk or 1.3 beta then you can configure it right in settings.py. If you really want to view print statements, use the development server (in your development environment) and you'll see them. Also, dependi

Django mod_python under apache

2010-11-12 Thread vivek_12315
I have configured Django with mod_python under apache web server. I would like to know, where can i see the print statements output for debugging which i put in python files in django views. I dont think print statement appears in Apache logs ... -- You received this message because you are

Re: Mod_Python and everything loaded, Apache serving HTML files without using Django first

2010-11-02 Thread Andy
This isn't directly related to your question, but mod_python is not a recommended method of deploying Django. Support for it will be deprecated. You might want to check out mod_wsgi. On Nov 1, 5:15 pm, The End wrote: > I've finally got mod_python and mysqldb working with apache

Re: Mod_Python and everything loaded, Apache serving HTML files without using Django first

2010-11-02 Thread The End
with addressing errors now. It's a bit different than the manage.py runserver apparently :P On Nov 2, 3:31 am, Daniel Roseman wrote: > On Nov 1, 9:15 pm, The End wrote: > > > > > I've finally got mod_python and mysqldb working with apache (long > > story short, can

Re: Mod_Python and everything loaded, Apache serving HTML files without using Django first

2010-11-02 Thread Daniel Roseman
On Nov 1, 9:15 pm, The End wrote: > I've finally got mod_python and mysqldb working with apache (long > story short, can't install wsgi for various reasons and i'm using > python 2.4.3... for various reasons...). > > However > > Now when i load up the hom

Mod_Python and everything loaded, Apache serving HTML files without using Django first

2010-11-01 Thread The End
I've finally got mod_python and mysqldb working with apache (long story short, can't install wsgi for various reasons and i'm using python 2.4.3... for various reasons...). However Now when i load up the home page (just typing 'localhost' into firefox) i get the liter

Re: With apache2 and mod_python I can't get static files loading in admin

2010-10-01 Thread Karim Gorjux
On Fri, Oct 1, 2010 at 15:17, Daniel Roseman wrote: > Either use > a DocumentRoot directive Thanks! I solved the problem using the directive. Thanks really a lot! :-) -- K. Blog Personale: http://www.karimblog.net -- You received this message because you are subscribed to the Google Groups "

Re: What replaced mod_python

2010-08-28 Thread Graham Dumpleton
On Aug 28, 9:56 am, Reinout van Rees wrote: > On 08/28/2010 01:35 AM, Jesse wrote: > > > I'm trying to load django/python 27/apache onto Windows XP.  I'm > > following the instructions that recommends mod_python.  Mod_python is > > no longer available.  What

Re: mod_python, apache and django

2010-08-28 Thread Graham Dumpleton
On Aug 28, 5:21 am, Jesse wrote: > I'm loading django onto Windows XP professional with Apache. > Unfortunately, I need mod_python which only works with python 2.3. > Django needs python 2.4 and above.  Is there a way around this? The mod_python download page at www.modpytho

Re: mod_python, apache and django

2010-08-27 Thread Russell Keith-Magee
On Sat, Aug 28, 2010 at 7:27 AM, Jesse wrote: > Do I not need it to run Apache on Windows with Django?  Or what is the > alternative?  This is the 5th server I've set up and I've always used > mod_python until now.  How do I get past this mod_python step? Seriously - the answ

Re: What replaced mod_python

2010-08-27 Thread Reinout van Rees
On 08/28/2010 01:35 AM, Jesse wrote: I'm trying to load django/python 27/apache onto Windows XP. I'm following the instructions that recommends mod_python. Mod_python is no longer available. What is it's replacement? Will apache work without it? mod_wsgi. (wsgi = web

Re: What replaced mod_python

2010-08-27 Thread Kenneth Gonsalves
On Fri, 2010-08-27 at 16:35 -0700, Jesse wrote: > I'm trying to load django/python 27/apache onto Windows XP. I'm > following the instructions that recommends mod_python. Mod_python is > no longer available. What is it's replacement? Will apache work > without it?

What replaced mod_python

2010-08-27 Thread Jesse
I'm trying to load django/python 27/apache onto Windows XP. I'm following the instructions that recommends mod_python. Mod_python is no longer available. What is it's replacement? Will apache work without it? Jesse -- You received this message because you are subscribed to th

Re: mod_python, apache and django

2010-08-27 Thread Jesse
Do I not need it to run Apache on Windows with Django? Or what is the alternative? This is the 5th server I've set up and I've always used mod_python until now. How do I get past this mod_python step? Jesse On Aug 27, 2:16 pm, Steve Holden wrote: > On 8/27/2010 3:21 PM, Jess

Re: mod_python, apache and django

2010-08-27 Thread Steve Holden
On 8/27/2010 3:21 PM, Jesse wrote: > I'm loading django onto Windows XP professional with Apache. > Unfortunately, I need mod_python which only works with python 2.3. > Django needs python 2.4 and above. Is there a way around this? > Thx > Stop needing mod_python? It'

mod_python, apache and django

2010-08-27 Thread Jesse
I'm loading django onto Windows XP professional with Apache. Unfortunately, I need mod_python which only works with python 2.3. Django needs python 2.4 and above. Is there a way around this? Thx -- You received this message because you are subscribed to the Google Groups "Django us

Re: Django admin not working with mod_python

2010-08-25 Thread Aspontus
ur/path/to/static'}), ) On 24 Sie, 16:57, Shamail Tayyab wrote: > Hi, > >    I am facing an issue where I cannot get the admin interface working > properly when running mod_python. Although when running it using > development server, its works fine. > > Proble

Django admin not working with mod_python

2010-08-24 Thread Shamail Tayyab
Hi, I am facing an issue where I cannot get the admin interface working properly when running mod_python. Although when running it using development server, its works fine. Problem: Admin interface is missing the static contents, like css, the interface comes though. Related info: OS

Re: Serving django admin files using mod_python

2010-06-24 Thread commonzenpython
im done using mod_python , i have switched to mod_wsgi completely, thanks guys for all your help -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from

Re: Serving django admin files using mod_python

2010-06-24 Thread Graham Dumpleton
On Jun 25, 8:32 am, Xavier Ordoquy wrote: > Le 25 juin 2010 à 00:23, commonzenpython a écrit : > > > im new to mod_python, so could you please tell me how to set ash/media > > to serve statically with apache > > Hi, > > The documentation about Django seems pretty

Re: Serving django admin files using mod_python

2010-06-24 Thread Xavier Ordoquy
Le 25 juin 2010 à 00:23, commonzenpython a écrit : > im new to mod_python, so could you please tell me how to set ash/media > to serve statically with apache Hi, The documentation about Django seems pretty clear about static media to me. Have a look at http://docs.djangoproject.com/

Re: Serving django admin files using mod_python

2010-06-24 Thread commonzenpython
im new to mod_python, so could you please tell me how to set ash/media to serve statically with apache -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe

Re: Serving django admin files using mod_python

2010-06-24 Thread Skylar Saveland
mod_python is dead. you can just serve your static files .. statically. usually you might point at a cdn or put nginx in front although you could set /media or / ash/media to serve statically with apache. On Jun 24, 5:47 pm, commonzenpython wrote: > i have been playing with django us

Serving django admin files using mod_python

2010-06-24 Thread commonzenpython
i have been playing with django using mod_python, so i activated the admin for my application and instead of the pretty looking page, i get : Django administration Welcome, ashtanga. Change password / Log out Site administration Auth Groups Add Change Users Add Change Sites Sites

Re: 404 error in admin interface with mod_python and >=django-1.1

2010-06-11 Thread Jan Meier
On 11 Jun., 15:30, Karen Tracey wrote: > Yes, you've got your admin registrations in your models.py file. models.py > won't necessarily be loaded early in a production environment with > DEBUG=False, so these registration calls are not running before you start > using admin. Move admin registrati

Re: 404 error in admin interface with mod_python and >=django-1.1

2010-06-11 Thread Karen Tracey
On Fri, Jun 11, 2010 at 4:49 AM, Jan Meier wrote: > And my model my_app/models.py looks as follows: > > from django.db import models > from django.contrib import admin > > class Blubb(models.Model): >x = models.IntegerField() > > admin.site.register(Blubb) > > Any ideas what could be wron

404 error in admin interface with mod_python and >=django-1.1

2010-06-11 Thread Jan Meier
Hi, I am serving my django project with mod_python and ran into a problem regarding the admin interface (django.contrib.admin). If DEBUG = False is set in settings.py the admin interface generates 404 error messages when clicking on any of my models, for example to add a new entry. The django

Re: error : Django with Apache and mod_python

2010-06-06 Thread Aldo Nievas
looks like ? Regards Aldo Nievas | SATIO Software Solutions aldo.nie...@satio.com.ar www.satio.com.ar MSN: aldo.nie...@gmail.com SKYPE: aldo.nievas On Sat, Jun 5, 2010 at 12:49 PM, Jagdeep Singh Malhi < singh.malh...@gmail.com> wrote: > > MOD_PYTHON ERROR > > ProcessId: 3219

Re: Django with Apache and mod_python

2010-06-06 Thread Justin Myers
It says you're missing a 500.html template. Without it, you can't see any error pages. See http://docs.djangoproject.com/en/dev/topics/http/views/#the-500-server-error-view Once you've made that template, you should be able to see what other errors are happening. -Justin On Jun 6, 12:16 am, Jagd

Re: Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
ok sir , thanks very much indeed i try my best.. On Jun 6, 8:52 am, Kenneth Gonsalves wrote: > On Sunday 06 June 2010 09:12:30 Jagdeep Singh Malhi wrote: > > > Sir  , i am  not able to remove this error.. > > which of template or file name is wrong.. > > how would I know? I know

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Sunday 06 June 2010 09:12:30 Jagdeep Singh Malhi wrote: > Sir , i am not able to remove this error.. > which of template or file name is wrong.. > how would I know? I know nothing about your directory structure, your models and views. -- Regards Kenneth Gonsalves Senior Associa

Re: error : Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
rote: > It seems that your application is trying to render a template that > doesn't exist. > > And why are you using mod_python anyway? > > On Sat, Jun 5, 2010 at 5:49 PM, Jagdeep Singh Malhi > > wrote: > > > MOD_PYTHON ERROR > > > ProcessId:  

Re: Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
Sir , i am not able to remove this error.. which of template or file name is wrong.. On Jun 5, 5:09 pm, Kenneth Gonsalves wrote: > On Saturday 05 June 2010 17:25:16 Jagdeep Singh Malhi wrote: > > >   File "/usr/local/lib/python2.6/dist-packages/django/template/ > > loader.py", line

Re: Django with Apache and mod_python

2010-06-05 Thread Raffaele Salmaso
Jagdeep Singh Malhi wrote: > MOD_PYTHON ERROR > please help... use mod_wsgi, mod_python is old and not more mantained http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/#howto-deployment-modwsgi -- ()_() | That said, I didn't actually _test_ my patch. | + (o.

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Saturday 05 June 2010 17:25:16 Jagdeep Singh Malhi wrote: > File "/usr/local/lib/python2.6/dist-packages/django/template/ > loader.py", line 138, in find_template > raise TemplateDoesNotExist(name) > > TemplateDoesNotExist: 500.html > you are calling a template with either the wrong pat

Re: error : Django with Apache and mod_python

2010-06-05 Thread Vasil Vangelovski
It seems that your application is trying to render a template that doesn't exist. And why are you using mod_python anyway? On Sat, Jun 5, 2010 at 5:49 PM, Jagdeep Singh Malhi wrote: > > MOD_PYTHON ERROR > > ProcessId:      3219 > Interpreter:    '127.0.1.1'

error : Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
MOD_PYTHON ERROR ProcessId: 3219 Interpreter:'127.0.1.1' ServerName: '127.0.1.1' DocumentRoot: '/var/www' URI:'/' Location: '/' Directory: None Filename: '/var/www/'

Re: Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
Thanks very much But Now the new are is come MOD_PYTHON ERROR ProcessId: 3219 Interpreter:'127.0.1.1' ServerName: '127.0.1.1' DocumentRoot: '/var/www' URI:'/' Location: '/' Directory: None Fil

Re: Django with Apache and mod_python

2010-06-05 Thread Kenneth Gonsalves
On Saturday 05 June 2010 16:30:46 Jagdeep Singh Malhi wrote: > PythonPath "['/home/username/mysite'] + sys.path" > PythonPath "['/home/username/'] + sys.path" -- Regards Kenneth Gonsalves Senior Associate NRC-FOSS at AU-KBC -- You received this message because you are subscribed to the Google

Django with Apache and mod_python

2010-06-05 Thread Jagdeep Singh Malhi
MOD_PYTHON ERROR ProcessId: 3793 Interpreter:'127.0.1.1' ServerName: '127.0.1.1' DocumentRoot: '/var/www' URI:'/' Location: '/' Directory: None Filename: '/var/www/'

MOD_PYTHON ERROR

2010-05-16 Thread asraful
x27;C:/Program Files/Apache2.2/htdocs/mysite','c:/Program Files/Apache Software Foundation/Apache2.2/htdocs', '/django']" I found error in browser like: MOD_PYTHON ERROR ProcessId: 3000 Interpreter:'asraful.brotecs.com' ServerName: 'asraf

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
On 16 April 2010 16:05, Owen Nelson wrote: > Opps! Since it's an alias, you need to tell apache what server location > to map. > For example, if you want http://localhost/ to map to your application: > WSGIScriptAlias / /path/to/my/wsgi/my.wsgi > Or if you wanted http://localhost/myapp to map inst

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Owen Nelson
Opps! Since it's an alias, you need to tell apache what server location to map. For example, if you want http://localhost/ to map to your application: WSGIScriptAlias / /path/to/my/wsgi/my.wsgi Or if you wanted http://localhost/myapp to map instead WSGIScriptAlias /myapp /path/to/my/wsgi/my.wsgi -

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Owen Nelson
The WSGIScriptAlias directive should point directly to the wsgi script -- in your case the line should read: WSGIScriptAlias /home/carlo /home/carlo/mysite/django.wsgi -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
On 16 April 2010 14:55, Karen Tracey wrote: > mod_python development is moribund, mod_wsgi has an active helpful > maintainer. It's reasonably straightforward to configure mod_wsgi to get > control only for a certain portion of the URL space, getting that config > correct for mod

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Karen Tracey
On Fri, Apr 16, 2010 at 10:46 AM, Carlo Trimarchi wrote: > On 16 April 2010 14:42, Karen Tracey wrote: > > Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi > is a > > lot easier to configure properly for this type of setup. > > Not sure. I thought

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Tom Evans
On Fri, Apr 16, 2010 at 3:46 PM, Carlo Trimarchi wrote: > On 16 April 2010 14:42, Karen Tracey wrote: >> Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a >> lot easier to configure properly for this type of setup. > > Not sure. I thought it was t

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
On 16 April 2010 14:42, Karen Tracey wrote: > Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a > lot easier to configure properly for this type of setup. Not sure. I thought it was the preferred way, byt maybe I'm wrong. Is there any advantage in using one

Re: Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Karen Tracey
Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a lot easier to configure properly for this type of setup. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Configure Django with mod_python on Ubuntu server

2010-04-16 Thread Carlo Trimarchi
The problem is that I can't set Location to "/", because everything else (i.e. php) will stop to work as usual. So what I'd like to do is to set location to a specific location, but I don't know how. I tried different things, but nothing worked. When I installed mod_py

Re: Mod_python error: AttributeError: 'str' object has no attribute 'status_code'

2010-04-06 Thread bruno desthuilliers
On 5 avr, 21:49, Nihaar Gupta wrote: > Help. I'm a bit of an apache/mod_python noob and am not sure what is > causing this error. I get this at page load every so often (not all > the time). Sometimes the page loads fine and sometimes it throws this > exception. > > Gues

Mod_python error: AttributeError: 'str' object has no attribute 'status_code'

2010-04-05 Thread Nihaar Gupta
Help. I'm a bit of an apache/mod_python noob and am not sure what is causing this error. I get this at page load every so often (not all the time). Sometimes the page loads fine and sometimes it throws this exception. Guessing from the fact that this occurs only sometimes, perhaps this is a

Re: segfault with mod_wsgi / mod_python after Python upgrade on Gentoo

2010-03-04 Thread Graham Dumpleton
get more logging etc about what is going on. Graham On Mar 5, 8:42 am, Facundo Casco wrote: > Hi, I'm having a problem after upgrading from Python 2.5 to 2.6 > > I'm using Gentoo and running a Django app with Apache 2 and mod_python. > After the upgrade I started getting a

segfault with mod_wsgi / mod_python after Python upgrade on Gentoo

2010-03-04 Thread Facundo Casco
Hi, I'm having a problem after upgrading from Python 2.5 to 2.6 I'm using Gentoo and running a Django app with Apache 2 and mod_python. After the upgrade I started getting a segfault when I try to access the site, Apache starts fine and can serve static pages. I've tried mov

Django 1.1.1 + mod_python = base.css was swallowed in admin pages

2010-02-08 Thread Andrew Budarevsky
Hello All, I am trying to get my admin pages work but failed. I have several django apps on the same hosting. For the latest I dopped in the latest brand new django 1.1.1 and mentioned it via PythonPath directive. Everything works but admin pages - they miss link to base.css. -- settings.p

Re: Problem with Last-modified header and Apache/mod_python

2010-02-05 Thread Malcolm Box
/2 Malcolm Box > Hi, > > I'm seeing a strange problem with Last-modified headers on my > Apache/mod_python install. The problem being that they don't get sent. > > Running my django app locally, and using 'curl -v' to see the headers, I > see correctly gener

Problem with Last-modified header and Apache/mod_python

2010-02-02 Thread Malcolm Box
Hi, I'm seeing a strange problem with Last-modified headers on my Apache/mod_python install. The problem being that they don't get sent. Running my django app locally, and using 'curl -v' to see the headers, I see correctly generated 'Last-modified' headers. Wh

Re: deploying on apache as 'raw cgi' due to checkmate from mod_python etc

2010-01-20 Thread gs_toronto
colnloop.com/blog/2008/mar/25/serving-django-cherrypy/ > > > for an example and code for django_cpserver. > > > -C > > > On Jan 20, 1:28 pm, gs_toronto wrote: > > > > I have this apache installation which has mod_python, but that's bound > > > to

Re: deploying on apache as 'raw cgi' due to checkmate from mod_python etc

2010-01-20 Thread gs_toronto
ing-django-cherrypy/ > > for an example and code for django_cpserver. > > -C > > On Jan 20, 1:28 pm, gs_toronto wrote: > > > I have this apache installation which has mod_python, but that's bound > > to an existing python2.3 installation (which is in use for othe

Re: deploying on apache as 'raw cgi' due to checkmate from mod_python etc

2010-01-20 Thread Chris Lee-Messer
could proxy to cherrypy's wsgi server. See http://lincolnloop.com/blog/2008/mar/25/serving-django-cherrypy/ for an example and code for django_cpserver. -C On Jan 20, 1:28 pm, gs_toronto wrote: > I have this apache installation which has mod_python, but that's bound > to an ex

deploying on apache as 'raw cgi' due to checkmate from mod_python etc

2010-01-20 Thread gs_toronto
I have this apache installation which has mod_python, but that's bound to an existing python2.3 installation (which is in use for other web app, that uses compiled python extensions which won't work with py2.5). python2.3 doesn't have sqlite3 module (and 'pysqlite2' add-o

Re: Problems with mod_python and Django

2010-01-03 Thread Ramiro Morales
On Sun, Jan 3, 2010 at 7:33 PM, Sergio Lobo wrote: > Hi! > > I am having a problem to configure mod_python for my Django project. I > even created a new project and the problem remains. Below is the > relevant part of my http.conf and the error message I get. From what I > und

Problems with mod_python and Django

2010-01-03 Thread Sergio Lobo
Hi! I am having a problem to configure mod_python for my Django project. I even created a new project and the problem remains. Below is the relevant part of my http.conf and the error message I get. From what I understand mod_python is not finding my dummy.settings. Any help will be greatly

Re: Django-mod_python taking time loading libraries

2009-12-22 Thread Graham Dumpleton
Answered in reply to your mod_python mailing list post. http://www.modpython.org/pipermail/mod_python/2009-December/026415.html Graham On Dec 22, 9:45 pm, bharath wrote: > Hi, > >     Django is taking time loading libraries . I am using python  open > source libraries like

Re: Django-mod_python taking time loading libraries

2009-12-22 Thread Russell
n django is run using python manage.py runserver > first request takes time but rest of the requests doesn't take time > ( quite fast ) ,which  is acceptable but when django is used along > with apache and mod_python > it takes time as much time as django takes for first request  when

Django-mod_python taking time loading libraries

2009-12-22 Thread bharath
time ( quite fast ) ,which is acceptable but when django is used along with apache and mod_python it takes time as much time as django takes for first request when run using python manage.py runserver for almost every request. How to avoid this as our performance is greatly hindered by this behaviou

Apache unicode problem!why it is OK in "manage.py runserver 8000" ? but it is not OK when "apach + mod_python" !

2009-11-28 Thread hao he
runserver 8000" *col = "%s:%s" % (field.name and field.verbose_name, getattr(model_instance, **field**.name)) * but, when I run my project with " apache + mod_python ". it raise this Exception : "Exception=,e='ascii' codec can't decode byte 0xe7 in

Re: OT : SetHandler mod_python vs SetHandler python-program

2009-11-27 Thread Graham Dumpleton
On Nov 27, 8:21 pm, Gabriel Rossetti wrote: > Hello everyone, > > this is a bit off-topic, in my apache2 httpd.conf, I see some poeple use > "SetHandler mod_python" and others (as mentioned in the docs) use > "SetHandler python-program", what is the differen

OT : SetHandler mod_python vs SetHandler python-program

2009-11-27 Thread Gabriel Rossetti
Hello everyone, this is a bit off-topic, in my apache2 httpd.conf, I see some poeple use "SetHandler mod_python" and others (as mentioned in the docs) use "SetHandler python-program", what is the difference? Thank you, Gabriel -- You received this message because you a

Re: Problem on deploying multi-projects on multi-ports with Apache/mod_python

2009-11-05 Thread Graham Dumpleton
ly need it. I > > really appreciate if there are any ideas. > > Which part of: > > http://docs.djangoproject.com/en/dev/howto/deployment/modpython/ > > don't you understand? > > Probably the only bit that isn't clear is that mod_python does assign > distinct

Re: Problem on deploying multi-projects on multi-ports with Apache/mod_python

2009-11-05 Thread Jason
> > don't you understand? > > Probably the only bit that isn't clear is that mod_python does assign > distinct sub interpreters for different ports for same ServerName > value in VirtualHost. You therefore need to set PythonInterpreter > explicitly to different value

Re: "can't adapt" - mod_python, multiple interpreters, psycopg2

2009-10-21 Thread Antoni Aloy
2008/3/5 Pigletto : > >> > Problem is possibly with multiple interpreters and psycopg2 again, >> >> Why do you say that? The thread you refer to above doesn't talk about >> mod_python, so do you have any extra evidence that support this claim? > There was a

Re: django + mod_python + apache2 config problem

2009-10-19 Thread Graham Dumpleton
On Oct 19, 6:10 pm, Lars Stavholm wrote: > Bit of an annoying problem with apache2 + mod_python configuration. > > I've got my django site setup and working. When adding a > directive in the apache config which then includes authentication, > the SetHandler None directive

Re: django + mod_python + apache2 config problem

2009-10-19 Thread Kenneth Gonsalves
On Monday 19 Oct 2009 12:40:48 pm Lars Stavholm wrote: > > SetHandler mod_python > PythonInterpreter main_interpreter > PythonHandler trac.web.modpython_frontend > PythonOption TracEnv /var/trac/bfact > PythonOption TracParentEnv /var/trac > PythonOpt

  1   2   3   4   5   6   7   8   9   10   >