On Mar 2, 2:57 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote:
> That probably isn't too far off. One time it did work and it was
> weird so I might have actually got one of the threads to fire
> correctly. Is there a way to limit the amount of threadsmod_python
> uses?
The threads are not created
Remove:
PythonInterpPerDirective On
You are not meant to have that line. Only use the PythonInterpreter
directive line.
Graham
On Mar 19, 3:16 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm trying to set up multiple Django installations on the same Apache
> server, same
On Mar 23, 2:49 pm, "benrawk" <[EMAIL PROTECTED]> wrote:
> Also, when I import and print sys.path into a python session, with
> apache running in the background, sys.path does not include '/home/
> benrawk'. Is it supposed to? Is there a way I can check the value of
> PythonPath as it is defined i
On Mar 23, 6:47 pm, "benrawk" <[EMAIL PROTECTED]> wrote:
> Thank you again for helping. FYI, I am using Fedora Core 6. I set
> 'PythonHandlermod_python.testhandler' in httpd.conf and got a bunch
> of info. The sys.path appears to be correct...relevant bits, and then
> full text beneath.
>
> sys.pa
On Mar 28, 5:13 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 3/27/07, walterbyrd <[EMAIL PROTECTED]> wrote:
>
> > Is that post correct? You have to restart the server whenever you make
> > a change to the django code?
>
> For templates, no. For changes to the actual Python code in use, ge
On Mar 30, 5:26 am, "Milan Andric" <[EMAIL PROTECTED]> wrote:
> On Mar 28, 6:26 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Wed, 2007-03-28 at 19:59 +, Milan Andric wrote:
> > > Hellow,
>
> > > Any advice you can offer on optimizing this view would be greatly
> > > appre
On Mar 30, 6:31 pm, Steven Armstrong <[EMAIL PROTECTED]> wrote:
> My understanding is that every apache child pulls in all modules
> (mod_python, mod_perl, mod_php, mod_your_favorite_mod_here) which all
> consume memory. So you end up with loads of processes using ??MB of RAM
> to serve up e.g. a
On Apr 4, 4:38 am, "Keith Mallory" <[EMAIL PROTECTED]> wrote:
> I have a Ubuntu Server with 4-5 Django web sites hosted on mod_python.
>
> Everything works fine, expect that the web sites keeps on pointing against
> each other. That Site A points to Site B and B to C and so on.
>
> This is how I
On Apr 13, 5:20 pm, "durumdara" <[EMAIL PROTECTED]> wrote:
> Hi !
>
> I want to substitute my modpy based website to any framework system,
> but I have a question:
>
> The development under modpy sometimes became very hard, because the
> python in the normal working mode does not reload the module
On Apr 13, 10:59 pm, "Luciano Adamiak" <[EMAIL PROTECTED]>
wrote:
> It's for the whole thing... I guess
>
> But it will prevent your restarting every change..
But it still happens automatically and as a result everything runs
very slowly. At that point you may as well use CGI which may even be a
You need to set PythonInterpreter directive in each Location container
directive with a different value in each case. This is so that each
Django instance runs in its own Python sub interpreter. You should
also change your settings.py file for each and set SESSION_COOKIE_NAME
to a different value
On Apr 24, 9:22 pm, Filipe Correia <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I think the following thread may help
> you:http://groups.google.com/group/django-users/browse_frm/thread/22a6d00...
Except that no one has still yet explained why the page:
http://www.djangoproject.com/documentation/modp
Stupid Google groups seems to have trashed my last response, now I
have to type it all in again. Apologies if this is a duplicate.
Anyway, for one explanation, see description on access rights of
Apache user in mod_wsgi documentation at:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues
Both mod_wsgi and TurboGears contain specific notes about this issue
with Python eggs when using Python running inside of Apache.
In mod_wsgi documentation read section on 'Access Rights Of Apache
User' in:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues
In TurboGears documentation re
On Apr 25, 7:10 pm, Atilla <[EMAIL PROTECTED]> wrote:
> I personally find it Very bad to bind Django users to 1 apache worker
> model, considering how the Apache modules progress and the performance
> you can get out of using clever configurations.
Can you elaborate on this further? I often see p
On Apr 26, 8:10 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 4/25/07, Jin Lee <[EMAIL PROTECTED]> wrote:
> > 5) Using apache, can you run a pool of django processes so that if one user
> > is doing something particularly heavy, it doesnt slow down the entire site?
> > (Basically what you do
On Apr 29, 1:42 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sat, 2007-04-28 at 15:22 +, omat * gezgin.com wrote:
> > Because request.META['PATH_INFO'] is only available when running the
> > test server.
>
> > This is also a point of inconvenience and I think the test server
> > shou
FWIW, In Ian Bicking's FormEncode package there is a form variable
decoder which does something similar to what you want and maybe of
interest to you. To quote from the source code:
"""
Takes GET/POST variable dictionary, as might be returned by ``cgi``,
and turns them into lists and dictionaries
On May 4, 7:31 pm, "Marc Fargas Esteve" <[EMAIL PROTECTED]> wrote:
> Has far as I know you cannot run mod_python applications as different users,
> everything runs as the web server user except with some experimental module
> around there, if this is the case, I would not go for mod_python.
Which
On May 6, 1:57 am, Martin Winkler <[EMAIL PROTECTED]> wrote:
> Am Fri, 04 May 2007 21:06:52 -0700
> schrieb Mambaragi <[EMAIL PROTECTED]>:
>
> > Is there anything like Servlet Listener in django,python?
>
> not easily if you use mod_python, because for every apache thread a new
> python instance i
On May 4, 9:17 pm, "Marc Fargas Esteve" <[EMAIL PROTECTED]> wrote:
> One module I saw someday on my list of new packages on Debian:
>
> from apt-cache show apache2-mpm-itk
> Description: multiuser MPM for Apache 2.2
> The ITK Multi-Processing Module (MPM) works in about the same way as the
> cla
Try reenabling PHP, but delve into the PHP setup and disable the
loading of the PHP mhash module first.
There have been cases where the PHP mhash module has clashed in some
way with the Python md5 hash modules and caused the Python module to
give back incorrect results. This may have an effect on
On May 19, 4:48 am, Daniel Ellison <[EMAIL PROTECTED]> wrote:
> On Friday 18 May 2007 14:06:48 [EMAIL PROTECTED] wrote:
>
> > I've tried googling for this for days without success. I'm looking for
> > a way to deploy a django app on amod_pythonenabled server to which I
> > do not have httpd.conf a
On May 19, 9:04 pm, Daniel Ellison <[EMAIL PROTECTED]> wrote:
> On Friday 18 May 2007 21:32:33 Graham Dumpleton wrote:
>
> > This will all only work if the web site administrator has also set:
>
> > AllowOverride FileInfo
>
> > for the directory containing th
What is important to understand with Apache is that there is a parent
process, which effectively acts as a supervisor process, and the child
processes which actually accept and handle requests. When one uses
'restart' with the traditional 'apachectl' management command, it only
kills off and resta
emory
> leak, though I've run ab a couple of times (1000 requests, 100
> concurrency) and the memory footprint never seems to increase very
> much.
What version of mod_python are you using?
Graham
> On May 29, 10:29 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
&g
On May 30, 1:52 pm, chrominance <[EMAIL PROTECTED]> wrote:
> > BTW, if you run 'ldd' on the mod_python.so file from the Apache
> > modules directory, does it use Python as a shared library or is there
> > no reference to libpython2.?.so at all, meaning it is embedded with in
> > mod_python.so? Wha
On Jun 3, 5:40 am, chrominance <[EMAIL PROTECTED]> wrote:
> Epilogue: it looks like the major culprit behind my skyrocketing
> memory usage was indeed my failure to properly restart all the apache
> processes; it looks like the parent process was still storing debug
> info from when I had DEBUG=Tr
x27;t using any Python modules which have a dependency on doc strings
being present.
Graham
On Jun 3, 8:41 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Jun 3, 5:40 am, chrominance <[EMAIL PROTECTED]> wrote:
>
> > Epilogue: it looks like the major culprit behind my s
Did you export the environment variables after you sent them.
export PYTHONPATH
export DJANGO_SETTINGS_MODULE
Graham
On Sep 11, 2:14 pm, johnny <[EMAIL PROTECTED]> wrote:
> Trying to run standalone python script that uses django orm.
> Something wrong with path setup to execute this python
On Sep 11, 8:27 pm, Arnold Chen <[EMAIL PROTECTED]> wrote:
> Dear all,
>
> I am experiencing some situation that is very strange. the development
> site ishttp://alberta.design97.com
>
> This site is django-powered, it is up sometimes, on some computers,
> you can visit this site for a preview, if
Yep. This is also a common problem when people move to mod_python and
don't reference through site package name. Thereby needing to add both
parent and site directories to PythonPath directive in Apache
configuration.
Graham
On Sep 11, 10:57 pm, johnny <[EMAIL PROTECTED]> wrote:
> Only works whe
On Sep 13, 6:18 pm, omat <[EMAIL PROTECTED]> wrote:
> Hi,
>
> This is more of a python / mod_python configuration issue, but there
> had been some discussions on this list ([1]), and django-users is
> where I feel home, so I am posting here. Sorry.
>
> I am running 7 Django sites with an Apache +
On Sep 14, 1:31 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I did it on Apache with mod-python. The problem I ran into was that I
> couldn't deploy Django to the root of my site and still serve up other
> content. I ended up having trac and my Django site sitting in
> subdirectories, /t
On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> I find I can use django users and groups to authorize apache locations and
> directories using a modified version of modpython.py(I just hacked it to check
> for required groups).
>
> I have some difficulties with this simple scheme.
>
You need two separate VirtualHost definitions, one for each site. You
only have one. The ServerName directive in each VirtualHost should
match the respective site name.
Graham
On Sep 19, 7:37 pm, tonybanjo <[EMAIL PROTECTED]> wrote:
> I'm configuring a new server that needs to run a standard web
On Sep 19, 10:05 pm, Robin Becker <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > On Sep 19, 3:05 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> >> I find I can use django users and groups to authorize apache locations and
> >> directories using a
On Sep 19, 10:18 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> > OK my code looks like the standard django/contrib/auth/modpython.py the
> > patch is
>
> > ***
> > *** 39,44
> > --- 38,54
>
> ># check the pas
On Sep 20, 8:03 am, "Peter Baumgartner" <[EMAIL PROTECTED]> wrote:
> On 9/19/07, Steve Potter <[EMAIL PROTECTED]> wrote:
>
> > I currently have a dedicated server running a Cpanel installation with
> > several virtual hosts. I would like to install Django on this server
> > and as far as I can t
On Sep 19, 10:46 pm, Robin Becker <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
>
> .
>
> >>> In 2.0 there seems no way to provide another
> >>> authorizer without writing an apache module.
> >> Correct.
>
> > Who
On Sep 20, 8:39 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
> On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > Not properly though.
>
> Indeed -- the auth handler has always been of "works-for-me" quality;
> I don'
On Sep 20, 12:16 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 20-Sep-07, at 12:23 AM, Steve Potter wrote:
>
> > I'm already quite sure I don't want to install mod_python on the
> > existing Apache after reading all of the warnings about using the same
> > Apache to serve static documents
On Sep 20, 10:28 am, Steve Potter <[EMAIL PROTECTED]> wrote:
> > Django can be run fine under Apache 1.3 using mod_wsgi.
>
> > The only issue is whether they do really allow you to add additional
> > Apache modules to the installation.
>
> > Graham
>
> This is interesting... It is possible to in
On Sep 20, 12:52 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 20-Sep-07, at 8:09 AM, Graham Dumpleton wrote:
>
> > All those warnings about using the same Apache to serve static
> > documents as Django are generally totally meaningless to the average
> > use
On Sep 20, 7:13 pm, Robin Becker <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > On Sep 20, 8:39 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
> > wrote:
> >> On 9/19/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> >>&
On Sep 20, 3:53 pm, Dave Lowe <[EMAIL PROTECTED]> wrote:
> I'm running into issues with the MEDIA_URL and that cursed trailing
> slash. Here's what the documentation says about MEDIA_URL:
>
> "Note that this should have a trailing slash if it has a path
> component." Good examples given
> are:htt
On Sep 25, 8:44 am, "Ramiro Morales" <[EMAIL PROTECTED]> wrote:
> On 9/24/07, Steve Potter <[EMAIL PROTECTED]> wrote:
>
> > [...]
> > But when I
> > tried to load the site I still received a 500 error and the apache
> > error log had the following:
>
> > mod_wsgi (pid=5070): Exception occurred wit
On Sep 25, 3:26 pm, Steve Potter <[EMAIL PROTECTED]> wrote:
> On Sep 24, 6:16 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > > Are you sure that the user Apache is running as has permissions
> > > to read directories/files under the m
On Sep 26, 3:59 am, Steve Potter <[EMAIL PROTECTED]> wrote:
> > This sort of odd error can sometimes come up if you have chosen names
> > for directories/modules which clash with standard Python module names.
>
> > Where you have in your WSGI script file for mod_wsgi something like:
>
> > sys.pat
What version of Apache are you using? The ordering or rule evaluation
in Apache 1.3 is actually based on order of LoadModule/AddModule lines
in Apache configuration as at code level can't define the ordering
dependencies between modules.
BTW, if you comment out the WSGIScriptAlias directive, can
On Sep 30, 12:42 pm, Steve Potter <[EMAIL PROTECTED]> wrote:
> On Sep 29, 6:58 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > What version of Apache are you using? The ordering or rule evaluation
> > in Apache 1.3 is actually based on order of LoadMod
On Sep 29, 1:18 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 28-Sep-07, at 11:16 PM, Milan Andric wrote:
>
> > Is there some standard practice on a machine that has production code
> > running in mod_python but also has developers running their django-
> > python web server? Is that disc
On Oct 4, 6:35 pm, dstuart <[EMAIL PROTECTED]> wrote:
> Just a quick note to say mod_wsgi does support Apache 2 from the site:
>
> "The mod_wsgi package can be compiled for and used with either Apache
> 1.3, 2.0 or 2.2 on UNIX systems (including Linux), as well as Windows.
> Either the single thre
The way mod_python reads request content is a bit broken and can screw
up in various ways, albeit rarely. This may be another example to add
to the existing ones. The other known examples are:
http://issues.apache.org/jira/browse/MODPYTHON-212
http://issues.apache.org/jira/browse/MODPYTHON-23
On Oct 7, 2:41 pm, Aaron <[EMAIL PROTECTED]> wrote:
> I am using Django version 0.97 (latest development version), Python
> 2.5, Apache 2.0.61 and mod_python 3.3.1.
>
> I am getting the following mod_python error:
> ---
> Traceback (mos
aemon
modes. For production sites mod_wsgi is more than capable and it
shouldn't be seen as only useful for development environments.
Graham
> trey
>
> On Oct 6, 7:01 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > The way mod_python reads request content is
On Oct 16, 11:58 pm, AndyB <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> Am I right in thinking the only way to do is this under CGI etc. is to
> either:
>
> 1. To use raw HTTP authentication
> or
> 2. To pipe all content through Python by reading the file in and
> serving it from a view
Can you exp
Hmmm, I have been trying to track down what is behind this one for a
while. I only do this as someone who knows about mod_python and not as
a Django user, so dependent on people trying things and giving
feedback.
Although someone else suggested PythonInterpreter directive, you are
already doing t
On Oct 17, 12:18 pm, Wiley <[EMAIL PROTECTED]> wrote:
> > 1. Why are you using:
>
> > PythonPath "['/usr/lib/python2.5/site-packages/django'] + sys.path"
>
> > It seems awfully odd that you would be adding django package directory
> > to sys.path explicitly.
>
> A friend of mine set it up this way
On Oct 17, 5:38 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 17-Oct-07, at 7:31 AM, Wiley wrote:
>
> > Kenneth and Bob, the PythonInterpreter thing was the first thing I
> > checked (because it was in the official docs) if you notice I have
> > different PythonInterpreters already set in
I am always quite amazed at the horrible rewrite rules that people
often seem to have to resort to, to get fastcgi solutions working, if
that is they get them working.
FWIW, you might want to instead look at mod_wsgi as configuration is a
lot simpler and it will work with Apache 1.3 server on Mac
On Oct 18, 8:33 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 10/17/07, Michael Newman <[EMAIL PROTECTED]> wrote:
> ...
>
>
>
> > ImportError: No module named django.core.handlers.modpython
>
> ...
> > my conf file is a basic:
>
> >
> > SetHandler python-program
> > PythonHandler dja
there may be more appropriate ways in Django for yielding it as
the result so it isn't read into memory all at the same time.
Graham
> Andy
>
> On Oct 16, 11:46 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Oct 16, 11:58 pm, AndyB <[EMAIL PROTECTED]>
te in
> > apache...
>
> > I hope that this might be a help to any other web dev newbies out
> > there :)
>
> > Thanks to everyone who posted ideas on this thread!
>
> > On Oct 17, 6:27 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> > wrote:
>
> >
A few quick comments, although you may have so mucked up your
installations you might be better reinstalling everything, include the
OS from scratch. :-)
1. Why are you using Apache 2.1. The Apache 2.1 stream was a
developmental version stream, it should not be used for production
use. You should
Ulf Kronman wrote:
> Hi Graham,
> thanks for your answer. Here some replies to your comments.
>
> > A few quick comments, although you may have so mucked up your
> > installations you might be better reinstalling everything, include the
> > OS from scratch. :-)
>
> Uh-uh. So this implies that the
On Oct 22, 5:36 am, Ulf Kronman <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> > Have you made any try on Python 2.5 together with mod_python?
>
> I'll reply to myself here, since I finally got mod_python to work with
> Python 2.5!
>
> Here's how I did it:
> --
>
> Installed Pyth
On Oct 22, 3:01 pm, Ulf Kronman <[EMAIL PROTECTED]> wrote:
> Hi Graham,
>
> > You should not need to set PYTHONHOME and doing so could cause a lot
> > of problems because if you now run /usr/bin/python2.3 directly or
> > indirectly, it will pick up the wrong installed version of Python
> > modules
On Oct 23, 6:27 am, Scott SA <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a django instance running under mod-python/apache and am having
> trouble with a user that has a poor-quality connection. The task is to
> generate a tab-delim report (rather lengthy one) of which we've been
> writing-to-r
On Oct 23, 10:26 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Oct 23, 6:27 am, Scott SA <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I have a django instance running under mod-python/apache and am having
> > trouble with a user that has a
On Oct 24, 5:13 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
> Hi guys,
>
> A few weeks ago I had problems with my dedicated server, it was
> stucking twice or more times a week. After some digging, I solve the
> problem updating the mysqldb lib version. The server goes ok almost
> all the
On Oct 25, 7:19 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
> Hi Graham!
>
> > What percentage of requests are actually yielding static pages?
> > People often too quickly run to lighttpd thinking it will somehow
> > magically solve all their problems, but if the bulk of the requests
> >
On Oct 25, 11:32 pm, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
> > Do you know which process in particular though are using up all the
> > memory?
>
> The `top` command tells me that apache is taking the most slice of the
> RAM. When I reach the high loads, there is between 40-50 subprocess
On Oct 26, 11:15 am, Roboto <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I'm trying to stop people from uploading like 3mb images and crashing
> the server. I think, think, that to some degree my limiters are
> working. In my apache config I've set LimitRequestBody 307200. That
> should be about 30
On Oct 26, 6:38 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2007-10-26 at 05:06 +, simonbun wrote:
> > > Well, I have another server available now ;)
>
> > And you're using it for serving static content I hope? Your previous
> > setup with Apache serving everything with KeepAl
On Oct 28, 4:59 am, "Adam D." <[EMAIL PROTECTED]> wrote:
> I am a newbie.
>
> Everywhere I read about django, it suggests to put your django project
> outside of your servers document root.
>
> My question is if my document root is '/var/www/vhosts/domain.com/
> doc_root' and I put my project ou
On Oct 27, 2:33 am, Michel Thadeu Sabchuk <[EMAIL PROTECTED]> wrote:
> Hi again Simon,
>
> > @ Michel: I think the best approach is to use a separate IP for Lighttpd to
> > listen on, but it should be equally easy to have Lighttpd listen on
> > for example port 81.
>
> Hum, understood. The last on
On Oct 30, 7:51 pm, web-junkie <[EMAIL PROTECTED]> wrote:
> Hi,
> I have a weird problem where I think memcached or caching in general
> might be the cause. I discovered it during testing the site with
> http_load. After a certain amount of fetches, or hits, to the server,
> the site does not re
I am actually surprised you got mod_python working in the first place
unless you did some fiddles you haven't mentioned here. We have been
sorting out issues with mod_python and mod_wsgi not working on Leopard
over on the mod_python list.
Short answer is, try editing src/Makefile in mod_python af
On Oct 31, 6:50 am, lmierzej <[EMAIL PROTECTED]> wrote:
> > maybe I should just create two apache virtual hosts pointing to the
> > same django project?
>
> According to instructions herehttp://www.djangosnippets.org/snippets/240/
> there should be two different apache virtual hosts pointing to th
On Oct 31, 1:15 am, [EMAIL PROTECTED] wrote:
> This issue has come up for many people in many places, but most of the
> threads seem old, and none of the solutions proposed has helped.
>
> I have a django installation in a subdirectory of a site, like
> so:www.mysite.com/django. At first I notice
On Oct 31, 6:57 am, crudolph <[EMAIL PROTECTED]> wrote:
> Yeah - I downloaded fromhttp://sourceforge.net/projects/mysql-python,
> unzipped and ran python setup.py build and then install.
>
> Under Leopard (10.5) apache2 is 4-way, so it is running in 64-bit
> mode. I haven't been able to figure out
On Oct 31, 10:23 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 10/30/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> ...
>
> > In mod_wsgi, although the application entry point is defined twice,
> > mod_wsgi will recognise that they are on 80/443
tation. :-)
Graham
On Oct 31, 10:58 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 10/30/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Oct 31, 10:23 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> ...
> > &
On Oct 31, 1:58 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2007-10-30 at 22:20 +0000, Graham Dumpleton wrote:
> > On Oct 31, 1:15 am, [EMAIL PROTECTED] wrote:
> > > This issue has come up for many people in many places, but most of the
> > >
r SSLVerifyClient, as it talks about difference
between SSLVerifyClient at VirtualHost context vs directory context.
Graham
> Thank you for your advises and time!
>
> On 30 Paź, 22:59, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > On Oct 31, 6:50 am, lmierzej &
On Oct 30, 9:22 pm, "Tiger Uppercut" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I wasn't sure whether this was a djangoAMF issue or django, so apologies for
> the double posting.
>
> I'm having trouble using djangoAMF to communicate between my flex UI and my
> django site, django_wrapper.
>
> - My dja
FWIW, it has been noted as an issue with mod_python that using IOError
directly isn't good, although for slightly other reasons.
https://issues.apache.org/jira/browse/MODPYTHON-92
That it isn't using IOError correctly in as much as no errno is
present adds to why it shouldn't do as it is. It
On Nov 4, 2:27 am, Sander Dijkhuis <[EMAIL PROTECTED]> wrote:
> On our Apache server, we're hosting multiple Django projects. The
> Apache configuration is like this:
>
> PythonAutoReload Off
>
> ServerName first.example.com
>
> SetHandler python-program
> Set
You might at least try mod_python 3.3.1 instead of the older
mod_python 3.2.10. The newer version fixes a lot of problems including
memory leaks.
Graham
On Nov 4, 10:48 am, Eugene Morozov <[EMAIL PROTECTED]> wrote:
> Hello,
> I've applied patch from #2070 and I have disastrous result. I'm trying
ever
> reached, even if this method is called twice
> this_user = auth.authenticate(email=this_email,password=raw_password) #
> using custom EmailBackend
> if this_user is not None:
> auth.login(request,this_user)
> return True
> else:
>
FWIW, the Python 2.5 source code violates its own documentation if
this is in some way meant to define a standard. That is, in zip and
bz2 modules, they raise IOError's with only a string value and no
errno.
Graham
On Nov 4, 9:32 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
>
On Nov 4, 4:26 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 03-Nov-07, at 8:57 PM, Sander Dijkhuis wrote:
>
> > I often have to reload one project because I've updated the code.
> > Currently, I use `/etc/init.d/apache2 reload`
>
> why dont you do apache2ctl graceful?
As far as the conse
On Nov 5, 10:33 am, Eugene Morozov <[EMAIL PROTECTED]> wrote:
> On 4 нояб, 07:05, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > You might at least try mod_python 3.3.1 instead of the older
> > mod_python 3.2.10. The newer version fixes a lot of problems includi
On Nov 6, 8:37 am, stranger <[EMAIL PROTECTED]> wrote:
> Hello I am using Fedora 7. I am using Django for the first time. I
> want the django to run on port 80. so that :
>
> http://localhost/mysite/
>
> should retreive the Django dafault page. I have installed mod_python
> and imported it into ht
On Nov 6, 9:30 am, stranger <[EMAIL PROTECTED]> wrote:
> Hello Graham,
>
>Just followed the same instructions as u said.
>
>
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE mysite.settings
> Pyt
On Nov 6, 9:37 am, stranger <[EMAIL PROTECTED]> wrote:
> Yes my settings.py file is in the place you specified.
>
> I have restarted the apache: /etc/init.d/httpd restart
>
> I think u r right. Apache dont have right to read that module. Please
> specify me how to give access to apche to my mysit
The latest roundup on thread safety of Django is that although it was
not designed for thread safety initially, the only known
multithreading problem has been fixed some time back. As such,
numerous people do run it in Apache worker MPM for UNIX and on winnt
MPM on Windows, both of which are multi
On Nov 6, 9:13 am, stranger <[EMAIL PROTECTED]> wrote:
> Thank you Graham for the fast reply Could you please elaborate a
> little since i am new to django.
>
>
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE mysite.settin
On Nov 6, 9:57 am, stranger <[EMAIL PROTECTED]> wrote:
> Thank alot Graham. To which user, I must grant access?
>
> I know the command chmod.. and I traversed to mysite directory and
> chmod -R 755 *
>
> still no change.
Hmmm, I saw that example in the document I referred to and thought it
was a
801 - 900 of 1006 matches
Mail list logo