On Dec 31, 8:41 am, tosh wrote:
> it depends on the url structure of your site really
>
> if you don't need your django site to load from the root you could
> just do something like
>
>
> SetHandler None
>
Don't need SetHandler None at root needed if mounting at sub
On Jan 2, 2:17 pm, Jeff Anderson wrote:
> vernon wrote:
> > Hi everyone,
>
> > When I was first experimenting with Django on my local machine with
> > the bundled webserver, one of the things I was really impressed by was
> > the speed — everything was instantaneous.
On Jan 4, 12:17 pm, garagefan wrote:
> I've read the documentation, and it doesn't seem clear enough, or
> provide a fully working example?
>
> i've copied what i have in my python.conf file, keep in mind that i
> have removed site specific names and have made them
in the configuration.
Graham
On Jan 4, 12:47 pm, Graham Dumpleton <graham.dumple...@gmail.com>
wrote:
> On Jan 4, 12:17 pm, garagefan <monkeygar...@gmail.com> wrote:
>
> > I've read the documentation, and it doesn't seem clear enough, or
> > provide a fully working exa
both VirtualHost's and then we may be able to
answer.
Graham
> On Jan 3, 8:47 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > On Jan 4, 12:17 pm, garagefan <monkeygar...@gmail.com> wrote:
>
> > > I've read the documentation, and i
ctly you were expecting to see.
BTW, it is presumed you properly restarted Apache between making
configuration changes.
Graham
> On Jan 3, 9:22 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > On Jan 4, 12:53 pm, garagefan <monkeygar...@gmail.com>
does it appear that Django is triggered? That is,
returning a working Django page, or an error page?
If the correct content is returned, but styling is wrong and images
don't show, can you access style sheets and images using:
http://kennethdavid.net/images/
etc.
Graham
> On Jan 3, 10:21
tice] Apache/2.2.8 (Unix) DAV/2 mod_jk/
> 1.2.26 PHP/5.2.6 mod_python/3.3.1 Python/2.5 mod_ssl/2.2.8 OpenSSL/
> 0.9.8b mod_perl/2.0.3 Perl/v5.8.8 configured -- resuming normal
> operations
>
> I do currently have two separate IP addresses for the sites, could
> this be causing the is
n't appear that anything in the is being read,
> but there are no errors popping up related to it. i've change the *:80
> to other numbers and have received errors
>
> On Jan 4, 4:47 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > Where exactly is the snippet
is there possibly something else that needs to be set up for the
> VirtualHost to work?
>
> On Jan 4, 5:44 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > On Jan 5, 8:54 am, garagefan <monkeygar...@gmail.com> wrote:
>
> > > Starti
I'll be answering this over on mod_wsgi list. Discussion thread is:
http://groups.google.com/group/modwsgi/browse_frm/thread/c29dde8fbef68e0b
if others are interested in the answer.
Graham
On Jan 5, 10:30 am, Fotinakis wrote:
> I am using mod_wsgi in embedded mode
On Jan 5, 10:24 am, ppdo wrote:
> Hi all,
>
> I am trying to port my first Django 1.0.2 application to run on OSX/
> Leopard with Apache + mod_python 3.3.1 + python 2.6.1 (all running in
> 64-bit mode) and I am experiencing an occasional error when uploading
> a file that
On Jan 5, 1:29 pm, Mark Jones wrote:
> For the discussion below, ALL the code is in .../intomec/tenq
>
> I wrote some code in tests.py like so:
>
> from tenq.models import *
> self.expectedValue = Answers((1,2,3,4))
>
> within the to_python() method of
Sorry, some more questions.
How big are the files you are trying to upload?
What browser/client are you using to do the uploads?
What do you have Timeout directive set to in Apache configuration?
Graham
On Jan 5, 6:24 pm, ppdo wrote:
> Hi,
>
> Thanks for looking into
On Jan 5, 8:33 pm, ppdo wrote:
> The failure does not depend on the file size: I manage to upload files
> bigger than 60 MB and fail on 30 kB files.
>
> I tried with Safari and Firefox and I got the same results, though I
> got the *impression* (but given the randomness of
On Jan 6, 9:30 am, ppdo wrote:
> I tried to monitor the interface using WireShark and the communication
> just hangs during a data transfer: Apache is just acknowledging the
> receipt of some packets and then just seems to hang. The suspicious
> bit is a fairly long series
On Jan 6, 4:41 am, Chunlei Wu wrote:
> Hi,
>
> We have a web app running on Django 1.0 / modwsgi 2.0 / Apache
Latest mod_wsgi is 2.3, you should really think about upgrading. :-)
> 2.2.3. Sparsely, about 2~3 times a week, I receive emails about
> IOError as below:
On Jan 6, 3:02 am, madhav wrote:
> Is there an easy way to test ssl protected pages in development
> server? Normally I will be doing the testing by accessing the same
> urls with http and not https in dev server. Is this the only way?
You may be better of setting up a
on being raised and if your code or Django isn't
doing anything specifically about that and just passing it back, you
will get the same behaviour as you do now.
Graham
> Chunlei
>
> On Jan 5, 3:40 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > On Jan 6, 4:41
On Jan 6, 10:31 pm, ppdo wrote:
> To Karen: yes, I meant TCP RST, sorry.
>
> Update:
>
> Using mod_wsgi made the problem go away for Firefox.
>
> Limiting my research to an interaction problem between Apache and
> Safari, I stumbled upon this bug report for Apache
>
Ultimately what they really need is:
View-03 wsgi.file_wrapper for large file serving
from:
http://code.djangoproject.com/wiki/Version1.1Features
At least then it will be optimal for WSGI case.
Graham
On Jan 8, 10:42 am, bruno desthuilliers
wrote:
>
On Jan 10, 4:21 am, lenin wrote:
> Hello,
>
> I would like to know if you could help me solve an issue with my
> server setup. I have a Django application running with mod_wsgi on
> apache with nginx as frontend, and it got very popular so the server
> gets more than 1
ng kick to the youtube video url. Although
> at this moment I have disabled the formats that need conversion.
>
> I'm using mysql for the database and it is on the same server, but it
> really doesn't do a lot of queries.
>
> I have memcached but I only cache the list of latest v
On Jan 10, 7:32 pm, Alan wrote:
> I use mac book pro, and I didn't like the way I have to set put apache2 +
> mod_wsgi in mac osx... poor documentation by the way.
> I will give a 2nd thought about it.
Huh, what are you talking about?
The mod_wsgi package builds against
n=mod_wsgi=UTF-8=UTF-8
Should yield:
http://www.modwsgi.org
Graham
> Cheers,
> Alan
>
> On Sat, Jan 10, 2009 at 09:04, Graham Dumpleton
> <graham.dumple...@gmail.com>wrote:
>
>
>
>
>
> > On Jan 10, 7:32 pm, Alan <alanwil...@gmail.com> wrote:
the pool.
Discussion on the mod_wsgi list where that thread is in general better
for me as it then comes in my mail box and don't miss it, where as
just browse here occasionally so don't always pick up posts.
Graham
> On 23 Dec 2008, at 01:13, Graham Dumpleton wrote:
>
>
>
> > Hav
Answered at:
http://groups.google.com/group/modwsgi/browse_frm/thread/6af0cf98b726e5fe
Graham
On Jan 11, 11:59 pm, Alan wrote:
> Oops, I found something. I am using apache2 + mod_wsgi and I notice that
> instead of using my Fink python ('/sw/bin/python') it's using my
Use mod_wsgi instead, it should set up compiler flags correctly even
for fussy MacPorts. I can't remember if I rolled those changes into
mod_python in subversion trunk. If still want to try mod_python though
use:
svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk
As before, if you can move to mod_wsgi and use its daemon mode try
that as first step. This will eliminate memory swapping issues and
other issues around startup cost of Apache child processes loading
Django. Also gives a more predictable environment in which can then
start doing testing as to
code.djangoproject.com/wiki/django_apache_and_mod_wsgi
More detailed information in:
http://code.google.com/p/modwsgi/wiki/IntegrationWithDjango
http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
Graham
> On Jan 14, 11:19 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
On Jan 18, 6:31 am, Jon Prater wrote:
> There are no precompiled binaries for mod_wsgi with Python 2.6. In
> order to use it, I would have to download the source code for it and
> compile it against Python 2.6, which I don't think is doable in
> Windows without
On Jan 18, 3:36 pm, Malcolm Tredinnick
wrote:
> On Jan 18, 2:53 pm, Adam Yee wrote:
>
> > It was a slam dunk for completing the tutorial in the development
> > server, but I can't figure out this issue I'm having with the generic
> > views while
On Jan 18, 8:46 pm, Adam Yee wrote:
> On Jan 17, 8:36 pm, Malcolm Tredinnick
> wrote:
>
>
>
> > On Jan 18, 2:53 pm, Adam Yee wrote:
>
> > > It was a slam dunk for completing the tutorial in the development
> > > server, but I
On Jan 19, 8:00 am, appleseed249 wrote:
> Hi all -
>
> I am building a site where users can register and deploy their own
> instances of Django. This isn't a public hosting site, just some
> distributed system work I'm doing for a class project.
> The Django instances are
On Jan 19, 3:02 am, JCorey wrote:
> On Jan 18, 9:39 am, ptone wrote:
>
> > In the tutorial, the form action in the poll_detail template is
> > hardcoded to "/polls/..."
>
> > So the browser is doing what's been explicitly asked of it, despite
> > Django
On Jan 24, 8:46 pm, simong wrote:
> My apologies in advance if this isn't a direct django issue but I
> can't work out where the problem is coming from.
>
> My server's system time runs Centos 5 and is set to Europe/London:
>
> -bash-3.2$ date
> Sat Jan 24 12:26:14 GMT
On Jan 25, 2:27 am, simong <sfgreenw...@gmail.com> wrote:
> On Jan 24, 2:30 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
>
>
> > On Jan 24, 8:46 pm, simong <sfgreenw...@gmail.com> wrote:
>
> > > My apologies in advance if this
On Jan 25, 11:08 am, Almad wrote:
> Hello,
>
> is there a way to run development server multithreaded, so it can
> handle recurring requests?
Just use Apache/mod_wsgi instead as described in:
http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html
Use
This isn't going to be Django issue, so if you do have any useful
information, perhaps post any followups to one of the discussions on
mod_wsgi Google Group going on about Python 2.6 and mod_wsgi. This
message has also been posted there.
On Jan 27, 8:20 pm, David wrote:
> Hello,
>
> iam new to django and in the phase of researching django production features.
> Iam planing to run django as fcgi behind a thin webserver. Can some point me
> out a good read or resource to find more about this topics. Iam
On Jan 29, 12:15 pm, Bond Lim wrote:
> Hi, I am from Malaysia and currently using django. Too bad is that in
> Malaysia, we do not have any python or django conference,
>
> On Wed, Jan 28, 2009 at 04:58:09PM -0800, ycloh wrote:
>
> > Hi all, just wondering if there are many
On Feb 4, 6:43 am, SnappyDjangoUser wrote:
> I am having a weird issue in which users are randomly logged out of
> the site and redirected to the login page. They must re-enter
> credentials before being able to continue browsing the site. The
> weird thing is I only see
On Feb 5, 1:25 am, Adam Stein wrote:
> I do something similiar where I have an extra item in the url. To get
> Apache and the Django server to match, I just add the extra part in
> urls.py that I'm matching. So instead of something like:
>
> (r'^admin/(.*)',
On Feb 6, 9:27 pm, "Adam Radestock" wrote:
> I've been using Python on Mac OS X for some time now...
>
> It's easy enough to find a python installer for OS X that'll bring you
> up to the latest version, without the need to compile. There's a Mac
> installer disk image
On Feb 7, 12:13 am, BrianE wrote:
> how can I get mod_python, which is needed by apache, to load in the
> python 25 directoty and not in the 24 directory?
If no prebuilt binary of mod_python is available that was compiled
against Python 2.5 then you must build mod_python
On Feb 9, 9:26 pm, Russell Keith-Magee wrote:
> On Mon, Feb 9, 2009 at 6:54 PM, Vincent wrote:
>
> > Hello
>
> > I'd like to write a Web 2.0-type web application. I find Python a lot
> > more pleasurable than PHP.
>
> > I'd like to have
On Feb 11, 7:33 pm, Xian Chen wrote:
> Is threading in mod_python allowed?
>
> I design my project like this:
>
> in the views.py, once the user click some buttons, the view function will
> start new thread to run some background processes.
>
> The site runs good by using
On Feb 12, 12:09 pm, Malcolm Tredinnick
wrote:
> On Tue, 2009-02-10 at 10:56 +, Alan wrote:
> > Hi list,
>
> > My problem is that: since when using apache + mod_wsgi I got a neutral
> > env for my server (e.g. PATH=/usr/bin:/bin) but in the end what I need
> > is
On Feb 13, 8:42 pm, Jacob Rigby wrote:
> The testserver is single threaded (assuming you're using django-
> admin.py runserver), so it would appear to hang until the os.popen
> call completes. If it's really crashing, then something horrible must
> be going wrong with
On Feb 16, 10:19 am, MrBodjangles wrote:
> I am going thru the sample blog application introduced in the book
> "Python Web Development with Django (covers Django 1.0)".
>
> Before getting too deep into the book, I decided I wanted to first
> ensure that the application
On Feb 16, 9:53 pm, "proteus...@gmail.com"
wrote:
> The way to do this is by utilizing nginx as a reverse proxy for your
> dynamic django (presumably apache) server and a peer media server
> (presumably another nginx setup). Nginx has a great feature (as does
> lighttpd)
On Feb 17, 3:01 pm, Malcolm Tredinnick
wrote:
> > I think I should have clarified some more facts about my setup.
> > 1- On mac, django is running on dev mode, so stdout is the console. On
> > linux, it'smod_wsgi, so stdout is redirected to apache error log
> > files,
am
> On Sun, Feb 15, 2009 at 4:11 PM, Graham Dumpleton <
>
> graham.dumple...@gmail.com> wrote:
>
> > On Feb 16, 10:19 am, MrBodjangles <mrangelc...@gmail.com> wrote:
> > > I am going thru the sample blog application introduced in the book
> > > &quo
Does it happen for mod_wsgi daemon mode as well as embedded mode?
If happens for daemon mode, create a single daemon process and then
use method described in:
http://code.google.com/p/modwsgi/wiki/DebuggingTechniques#Debugging_Crashes_With_GDB
to try and capture a stack trace for where it
On Feb 23, 1:29 am, stevedegrace wrote:
> I don't think I'm understanding this very well. By doing some
> inspection, I see that Apache is running under two PIDs, which makes
> sense because ServerLimit right now is set to 2. What I'm wondering
> is, does each of those
raries etc have to be available as 64
bit as well.
So, explain how Python gets run. Are you running command line Python
to see this error, running Django under Apache.
Graham
> I am lost.
>
> On Feb 26, 1:25 pm, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> &g
gt;
> On Feb 27, 12:48 am, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > On Feb 27, 12:29 am, "omat * gezgin.com" <o...@gezgin.com> wrote:
>
> > > Thanks for the pointer.
>
> > > But I checked the architecture of the liblwge
appropriate.
Graham
> Thanks,
> omat
>
> On Feb 27, 11:16 am, Graham Dumpleton <graham.dumple...@gmail.com>
> wrote:
>
> > On Feb 27, 8:13 pm, "omat* gezgin.com" <o...@gezgin.com> wrote:
>
> > > I am using the django's built-in developme
On Mar 3, 10:25 am, Wiiboy wrote:
> I'm with a shared hosting company called Lunarpages. They tell me
> Django, by itself, even with Fast CGI, because it is a framework, is
> too resource intensive for them to allow. But many other shared
> hosting providers allow Django.
On Mar 3, 4:00 pm, Wiiboy wrote:
> So, is getting mod_python and Django worth ditching my current
> provider, and a dollar more a month?
Be careful of web hosting companies offering mod_python. If they also
provide you with your own Apache instance which is under your full
On Mar 4, 12:29 pm, Malcolm Tredinnick
wrote:
> On Tue, 2009-03-03 at 17:09 -0800, Rob Hudson wrote:
> > At work we wanted to set up some quick clickthru tracking. I whipped
> > up a quick solution that seemed to work on my local machine. The
> > solution was to use
On Mar 6, 5:14 am, Benedykt wrote:
> Dear sirs,
> I have configured my web server sohttp://localhost/wsgipoints to
> Django connected with WSGI:
> WSGIScriptAlias /wsgi /var/www/django.wsgi
>
> Now I can see that when I request URL "http://localhost/wsgi/myapp/
>
On Mar 6, 1:24 pm, Malcolm Tredinnick
wrote:
> On Thu, 2009-03-05 at 18:08 -0800, Paulo wrote:
> > Hi
>
> > I want to install Django on my webserver, but i would like to know
> > from you if django has an intense resource usage (memory, cpu) or it's
> > not a concern?
t mechanisms
supported by Django as explained in Django documentation.
Graham
> On 6 mar, 00:04, Graham Dumpleton <graham.dumple...@gmail.com> wrote:
>
> > On Mar 6, 1:24 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
> > wrote:
>
> > > On Thu, 2009-03-05 at
On Mar 7, 2:53 am, Jacob Kaplan-Moss
wrote:
> On Fri, Mar 6, 2009 at 9:46 AM, Brian Neal wrote:
> > I updated my working copy of Django after a long period and was
> > browsing the source and noticed it was taking advantage of the Python
> >
On Mar 7, 12:50 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> On Fri, 2009-03-06 at 18:12 -0500, Jacob Kaplan-Moss wrote:
> > On Fri, Mar 6, 2009 at 5:56 PM, Graham Dumpleton
> > <graham.dumple...@gmail.com> wrote:
> > > Anyway, the issue is that
On Mar 7, 7:29 pm, Malcolm Tredinnick <malc...@pointy-stick.com>
wrote:
> Hi Graham,
>
> On Fri, 2009-03-06 at 21:50 -0800, Graham Dumpleton wrote:
>
> [...]
>
> > I am still toying with whether I add a few things or not. The first of
> > these is optionally
If considering mod_wsgi due to its reloading ability, ensure you read:
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode
http://blog.dscpl.com.au/2008/12/using-modwsgi-when-developing-django.html
http://blog.dscpl.com.au/2009/02/source-code-reloading-with-modwsgi-on.html
to
On Mar 11, 10:51 am, "neri...@gmail.com" wrote:
> Hello,
>
> I installed python 2.5.4 using macports and edited my .profile by
> adding:
>
> export PYTHONPATH=/opt/local/var/macports/sources/rsync.macports.org/
> release/ports/lang/python25:${PYTHONPATH}
>
> ...which wasn't
On Jul 27, 2:05 pm, westymatt <[EMAIL PROTECTED]> wrote:
> Hi, I am one of the lead developers of Open Linux Router. Currently
> we are rewriting OLR in python/django. We are looking for developers
> who would like to contribute to the project. Theres alot to be done
>
On Jul 27, 2:30 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Jul 27, 2:05 pm, westymatt <[EMAIL PROTECTED]> wrote:
>
> > Hi, I am one of the lead developers of Open Linux Router. Currently
> > we are rewriting OLR in python/django. We are looking for
On Jul 27, 4:09 pm, devjim <[EMAIL PROTECTED]> wrote:
> Mod_python is working and I have this in my http.conf
>
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE testproj.settings
> PythonDebug On
> PythonPath
On Jul 27, 6:31 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Jul 27, 4:09 pm, devjim <[EMAIL PROTECTED]> wrote:
>
> > Mod_python is working and I have this in my http.conf
> >
> > SetHandler python-program
> > PythonHandler dja
t; will work.
>
> yml
>
> On Jul 27, 10:59 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Jul 27, 6:31 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> > wrote:
>
> > > On Jul 27, 4:09 pm, devjim <[EMAIL PROTECTED]> wrote:
>
On Jul 29, 11:20 am, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have recently begun testing LimitRequestBody to limit file uploads.
> It works but there are some issues. Whenever the uploaded file hits
> the limit, I get "Connection reset by peer". Ideally I would like to
> be
On Jul 29, 8:00 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Jul 29, 11:20 am, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > I have recently begun testing LimitRequestBody to limit file uploads.
> > It works but
On Jul 29, 8:35 pm, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote:
> On 7/29/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> > If not bound to mod_python because of need to use it for custom
> > authentication/authorisation handlers connected to Django,
On Jul 30, 12:26 am, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote:
> On 7/29/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > > I would love to try that on my development server but I can't seem to
> > > find documentation on how to do
On Jul 30, 11:18 pm, stereoit <[EMAIL PROTECTED]> wrote:
> Hi, I'm having problem withmod_python.
>
> EnvironmentError: Could not import settings 'syslog.settings' (Is it
> on sys.path? Does it have syntax errors?): No module named settings
>
>
> I've developed small app for viewing syslog
On Jul 31, 5:24 pm, Giorgio Salluzzo <[EMAIL PROTECTED]>
wrote:
> I know very well this problem because in my company we had the same
> some months ago.
>
> I investigated a lot also on modpython list and it is a known "bug|
> strange behavior", you can find threads really old about it.
Huh.
odels import *
> to make it work.
>
> Weird is it worked with django-admin.py runserver and not under apache
> +mod_python. Now I'm bit confused about how to make applications
> decoupled from project as for now I have this kind of string hardcoded
> everywhere.
>
> Anyway, than
On Aug 2, 6:11 pm, Giorgio Salluzzo <[EMAIL PROTECTED]>
wrote:
> On Jul 31, 12:25 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > Huh. What bug, strange behaviour in mod_python? What old threads?
>
> Excuse me, I tought he was having a problem
On Aug 3, 9:16 pm, Aljosa Mohorovic <[EMAIL PROTECTED]>
wrote:
> on few blogs/web sites it is stated that > 30 django sites on one
> server running apache/mod_pythonhave some issues, like untraceable
> errors and wrong site displaying for some domain.
> any comments on this?
>
> i have many small
On Aug 4, 8:05 pm, David Reynolds <[EMAIL PROTECTED]> wrote:
> On 4 Aug 2007, at 6:00 am, Kenneth Gonsalves wrote:
>
> > could you mention what exactly the problems you are facing - as i
> > mentioned, on one site i have faced the problem of the initial screen
> > in admin loading with the fields
On Aug 9, 12:01 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
> Hi guys!
>
> I´m having a problem with a django site, sometimes my server stuck and
> goes down. Just before it happens I receive about 200 traceback
> messages telling me the same error: (1040, 'Too many connections'), I
>
On Aug 11, 4:32 pm, george <[EMAIL PROTECTED]> wrote:
> I have seen previous posts regarding this issue, and I'm pretty sure
> that I'm not running into similar issues that others have faced. I'm
> a bit stuck as to where to go.
>
> I'm running Apache2, python2.3,mod_python, latest django and
Why can't you mount it at root on the development and personal
developer servers so it will match production? Use a different port
just for Django if you really must because of the personal developer
servers running other stuff. It is much easier to deal with it being a
different port number than
Apache is a multi process web server. Thus, more probable explanation
is that the latter requests are being handled by a different Apache
child process and thus those processes in turn need to load the data
for the first time.
For an explanation of the different Apache MPM models see:
On Aug 16, 3:40 pm, james_027 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Ask I have successfully try to run django apps on apache/mod_python/
> winxp, I learn that apache for winxp only support worker_mpm
Actually, it only supports 'winnt' MPM, although that is effectively
'worker' with only one
Can you upgrade to proper 0.96 and not 0.96pre and see if it makes a
difference.
Don't understand what 0.96pre means since not a regular Django user,
but there was a whole issue with MySQL database issues with Subversion
copy of Django back in June.
On Aug 19, 11:04 pm, Chris Hoeppner <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> > If my site is under /var/www/html/python, with the settings file as /
> > var/www/html/python/foo/settings.py should I write,
> > SetEnv DJANGO_SETTINGS_MODULE foo.settings
> >
On Aug 20, 5:13 pm, Sasha Weberov <[EMAIL PROTECTED]> wrote:
> On Aug 20, 12:13 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Aug 20, 3:01 pm, Sasha Weberov <[EMAIL PROTECTED]> wrote:
>
> > > Is it normal to experience a sudden
On Aug 21, 3:21 am, "Peter Melvyn" <[EMAIL PROTECTED]> wrote:
> On 8/20/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> > Not really Django related, so I'll do this briefly...
>
> Yes, I know. I appreciate your prompt reply. Thanks.
>
> > In this case you'll probably want to add another
If using mod_python, you might also look at Tramline:
http://infrae.com/products/tramline
This allows a response to set a special header which is then picked up
by an Apache output filter, with the output filter then inserting the
file contents direct into the output stream.
Using Python to
specific mailing list to raise
your problems.
Also try mod_wsgi perhaps, but if it relates more to mixing Python and
Apache, then would expect you to see the same problem.
Graham
On Aug 22, 3:25 am, Sasha Weberov <[EMAIL PROTECTED]> wrote:
> On Aug 20, 6:38 am, Graham Dumpleton <[EMA
On Aug 23, 9:55 am, Amirouche <[EMAIL PROTECTED]> wrote:
> > Then which is the part that's not working?
>
> well, I really don't know, without ssh it seems a bit tricky, even
> feasible you may try to contact the hosting compagny.
>
> in the django.fcgi file that use to server python files, get
On Aug 23, 9:17 pm, eXt <[EMAIL PROTECTED]> wrote:
> Yes very familiar. I also experienced this kind of strange behaviour
> from my app behind apache. Two things to do:
> 1. restart apache after changes to your files (there is a directive to
> autoreload described somewhere in the docs - useful
On Aug 24, 6:23 am, George Vilches <[EMAIL PROTECTED]> wrote:
> James Bennett wrote:
> > On 8/23/07, John Menerick <[EMAIL PROTECTED]> wrote:
> >> Yeah, I was thinking of running a script in daemon mode, but I would prefer
> >> to keep the code inside the django instance to keep everything
On Aug 24, 6:33 pm, "Timothy Kanters" <[EMAIL PROTECTED]> wrote:
> > Some may suggest that you set maximum number of requests per Apache
> > child to 1. This however is a rather brute force approach and if doing
> > that you may as well use CGI.
>
> Aye, but for my development server that is
On Aug 27, 11:53 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 8/26/07, z_axis <[EMAIL PROTECTED]> wrote:
>
> > File "d:\app\python\Lib\site-packages\django\db\__init__.py", line 7, in
> > > le>
> > if not settings.DATABASE_ENGINE:
>
> The lines above tell you what the problem is:
1 - 100 of 983 matches
Mail list logo