On Jun 14, 5:23 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2007-06-14 at 03:40 +0000, Graham Dumpleton wrote:
>
> [...]
>
> > No one
> > though seems to want to update the documentation.
>
> Which ticket is this?
>
> You keep complai
We are trying to sort out similar problem over on mod_python list at
the moment. Your case is only the second case that has been seen
although why they have both popped up only now don't know.
Anyway, issue seems to be some subtle bug in req.read() of mod_python
which only manifests when certain
On Jun 17, 5:15 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On 20 май, 01:25, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
>
>
> > On May 19, 9:04 pm, Daniel Ellison <[EMAIL PROTECTED]> wrote:
>
> > > On Friday 18 May 2007 21:
On Jun 21, 5:46 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote
> On 21-Jun-07, at 12:50 PM, [EMAIL PROTECTED] wrote:
>
> > cache gets confused. But if I do that, the settings don't work
> > correctly and the site won't load. What am I doing wrong?
>
> you need a pythonInterpretor line in each L
>
> SetHandler None
>
>
> SetHandler None
>
>
> ErrorLog /var/log/apache2/agdweb.gtagd.org-error.log
>
> # Possible values include: debug, info, notice, warn, error,
> crit
'atlantaice.web.views.past_events'),
> (r'^popup_blockice/$', 'atlantaice.web.views.popup_blockice'),
> (r'^popup_dryice/$', 'atlantaice.web.views.popup_dryice'),
> (r'^products/$', 'atlantaice.web.views.products'
On Jun 22, 9:52 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Thu, 2007-06-21 at 07:45 -0700, Ilya Semenov wrote:
> > Malcolm,
>
> > I traced the problem and submitted the patch, see details at
> >http://code.djangoproject.com/ticket/4650
> > I'm not completely sure about the logic of sig
interpreters in the one process. That way there can
be no way they somehow could be interfering with each other. I can
help with that if you want to try that.
At the end of the day I am sure this will be something obvious and
I'll make a fool of myself for not seeing it earlier. ;-)
Graham
On Jun 22, 2:40 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 6/21/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > To be honest I haven't ever done anything with Django past the hello
> > world examples,
>
> Graham, thank you for fr
; On Jun 22, 5:43 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Jun 22, 2:40 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
>
> > > On 6/21/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
>
> > > > To be honest I haven't
On Jun 22, 9:51 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've done some preliminary work integrating Tramline with django
> applications. It wasn't difficult to set up and the performance was
> impressive. We are looking at this solution now for all of our media
> handling in Django
On Jun 23, 9:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> I'm trying to configure mod_python on apache on a home Ubuntu machine
> -- hoping to direct 127.0.0.1:80 to a django project, let's call it
> foo.
>
> in my /etc/apache2/httpd.conf, I'm told by this django
> page:http://
On Jun 26, 12:55 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Mon, 2007-06-25 at 19:39 -0700, ZebZiggle wrote:
> > Howdy!
>
> > Emails were taking 15s to send each. Upon investigation it came down
> > to CachedDnsName in django.core.mail. Specifically, the
> > socket.getfqdn() call. Also
On Jun 26, 11:00 pm, "Nimrod A. Abing" <[EMAIL PROTECTED]> wrote:
> On 6/26/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
> > I don't want to sound discouraging, but if the answer is at all critical
> > to your operation, you can't trust any numbers you get here. They will
> > not have the s
Do what has been suggested with using something like live http
headers, but in particular pay close attention to the Content-Type
header being returned for static files served from your /media
directory. When using Apache the content types for such files will be
dictated by Apache configuration an
On Jun 27, 12:59 am, "Vladimir Pouzanov" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm running several django sites on lighttpd server. Sites are simple
> and I don't like the idea of spawning so much python processes that
> eat my precious memory. Is it possible somehow to run several sites in
> o
Look at the FastCgiAuthenticator directive for mod_fastcgi module. The
FASTCGI protocol does have mechanisms for allowing backend process to
do the authentication, but have no idea how it used or whether it
would work.
Graham
On Jun 29, 12:13 am, Robin Becker <[EMAIL PROTECTED]> wrote:
> I see f
On Jul 1, 8:17 pm, [EMAIL PROTECTED] wrote:
> Every django app grabs ~60mb of RAM. I'm currently running three
> different django fcgi processes and that uses half of my available
> RAM.
What is the initial memory size of the process when it is first
started? In other words, does it start out thi
On Jul 1, 10:43 pm, "Vladimir Pouzanov" <[EMAIL PROTECTED]> wrote:
> $ grep Vm /proc/9453/status
> VmPeak:54556 kB
> VmSize:54552 kB
> VmLck: 0 kB
> VmHWM: 9804 kB
> VmRSS: 9804 kB
> VmData:48160 kB
> VmStk: 128 kB
> VmExe: 4 kB
> VmLib: 5528 kB
> V
On Jul 3, 8:40 pm, bluszcz <[EMAIL PROTECTED]> wrote:
> Hello people - I wrote earlier this mail on django devs but Adrian and
> Graham pointed me, that I should write here.
>
> I am using Apache 2.0 and mod python 3.3,1 on Ubuntu Dapper x86_64. I
> found a strange behavior during SetEnv directive
<[EMAIL PROTECTED]> wrote:
>
> > Thanks Graham for the fast reply. Unfortunately, I cannot list the
> > sites directly - too much of them (about 100), and generally I have to
> > handle all except of 'admin' one :(
>
> > On 3 Lip, 13:07, Graham Dumpleton <[EM
On Jul 4, 11:20 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> Jeremy Dunck wrote:
> >> Frankly I think a generic python application server similar to tomcat
> >> would do a world of good for python apps in general. Something similar to
> >> cherrypy... but this is beyond the responsibilities of
On Jul 5, 5:38 pm, "Fabien Schwob" <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm currently hosting my Django websites on a dedicated server and it
> works fine. I restart Apache when I make modifications since I'm alone
> on the box.
>
> But I've made evangelism for Django and I've convinced some f
On Jul 6, 9:38 am, Vincent Nijs <[EMAIL PROTECTED]>
wrote:
> Could anyone help me identify if the error message below (from apache log)
> might be a network/apache error or something in my Django/python code. My
> site is deployed using apache and mod_python.
>
> [error] [client ] PythonHandler dj
On Jul 6, 1:24 pm, John-Scott <[EMAIL PROTECTED]> wrote:
> @Vincent - Is specifying the path necessary because I'm using the
> development version of django and not an official installer? In the
> official docs it says you only have to specify the path "if you've
> manually altered your PYTHONPATH
On Jul 6, 2:59 pm, John-Scott <[EMAIL PROTECTED]> wrote:
> On Jul 6, 12:29 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > Hmmm, I'm not sure the documentation is actually accurate. When you
> > use manage.py to run up development server for Dja
On Jul 7, 6:25 pm, e-gor <[EMAIL PROTECTED]> wrote:
> Switching off mod_php doesn't help.
>
> when i import module md5 from command prompt there are no errors:
>
> # python
> Python 2.5.1 (r251:54863, Jun 28 2007, 13:12:40)
> [GCC 3.4.6 [FreeBSD] 20060305] on freebsd6
> Type "help", "copyright", "
n the hashlib
module, it will catch the exception and try and import _md5 instead,
but that doesn't exist in Python 2.5. Importing md5 works, because it
actually imports hashlib these days and not _md5 directly.
Graham
> On Jul 7, 2:40 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wro
On Jul 13, 4:55 am, e-gor <[EMAIL PROTECTED]> wrote:
> # ldd _hashlib.so
> _hashlib.so:
> ldd: _hashlib.so: Shared object "_hashlib.so" not found, required by
> "ldd"
> _hashlib.so: exit status 1
>
> So it's mean that _hashlib.so can't be loaded because it can't find
> itself? It's strange
>
> fil
On Jul 18, 8:19 am, peyman <[EMAIL PROTECTED]> wrote:
> The mod_python instructions
> athttp://www.djangoproject.com/documentation/modpython/
> seems incomplete. I followed the tutorial, but I had to add 2 paths to
> my Apache config before the mysite sample would work: the project
> directory an
On Jul 19, 2:07 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 7/19/07, oggie rob <[EMAIL PROTECTED]> wrote:
>
> > Please, if you've seen the same issue or have any helpful ideas to try
> > to stop the error, let me know.
>
> I think I've seen the same problem (or, at least, an analogou
On Jul 19, 7:56 pm, Bram - Smartelectronix <[EMAIL PROTECTED]>
wrote:
> hello everone,
>
> a while back I mailed about a problem with path_info. Basically I'm
> having the same problem and the previous fix we discussed no longer works.
>
> I'm getting this behavior:
>
> http://www.com/a/=> pat
On Jul 23, 2:35 pm, "James McManus" <[EMAIL PROTECTED]> wrote:
> I am having two problems using django on an Apache server, with mod_python.
> The first problem I found a solution, but it may be causing other problems.
> In mysite/urls.py I am not able to use the ^ in:
>
> (r^'polls/', include('my
On Jul 24, 6:28 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> hi,
>
> how does it work exactly, when i have multiple django sites running in
> one apache server using mod_python?
>
> for example, imagine that i have 10 django sites running in one apache
> server.
>
> does that mean, that in every
On Jul 24, 7:53 pm, David Reynolds <[EMAIL PROTECTED]>
wrote:
> On 24 Jul 2007, at 10:35 am, Graham Dumpleton wrote:
>
> > Memory use of running multiple Django instances under Apache using
> > mod_python is only one of the problems that can arise in this
> > in
On Jul 24, 8:08 pm, Eratothene <[EMAIL PROTECTED]> wrote:
> I ran into the problem of Host-based url dispatch.
>
> I need to make something like this:
> urls.py:
>
> if request.META["HTTP_HOST"] = 'blogs.example.com'
> urlpatterns += (Some patterns)
>
> if request.META["HTTP_HOST"] = 'wikis.exam
On Jul 24, 8:30 pm, Gábor Farkas <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > So, the question is, what are you trying to achieve or want? Was there
> > a specific reason for the question? Knowing what you are really trying
> > to do, might be able to su
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
> templates/db/(independent
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 de
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 "['c:d
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 abl
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
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 me
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. What
.filters.models 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.
>
&g
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
> get
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 Cen
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:
http://c
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 proces
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.
http://groups.google.com/group/django-users/br
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
> > (o
On Aug 20, 3:01 pm, Sasha Weberov <[EMAIL PROTECTED]> wrote:
> Is it normal to experience a sudden sharp spike in cpu and memory
> usage for about a minute or so after a start/stop and restart? I'm
> running the pre-fork mpm, FreeBSD 6.2, and latest mod_python. I've
> tried disableing mod_python a
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 Loca
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 d
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 th
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 fo
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 simpler
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 quite
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:
On Aug 27, 4:47 pm, Paul Rauch <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Kenneth Gonsalves schrieb:> Hi,
>
> > I have a site on WebFaction with 40 MB RAM. It is a very small site
> > in the sense that it is used for administering an organisation, so
> > would
On Aug 27, 12:57 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a site on WebFaction with 40 MB RAM. It is a very small site
> in the sense that it is used for administering an organisation, so
> would have just 2-3 users at a time, mainly doing admin stuff. The
> only load is w
On Aug 29, 1:39 am, Justin Johnson <[EMAIL PROTECTED]> wrote:
> I've managed to get Django working nicely with CherryPy using WSGI.
> Previously I've deployed Django with Apache and ModPython where each
> requested is serviced by a separate Python instance.
How you think mod_python works is wrong
The OP isn't talking about Apache but using inbuilt Django server
using manage.py. :-)
The OP should really post the full traceback and messages there are
getting so it can be seen whether they are interpreting it correctly.
Information in the details may also be helpful to people in working
out
On Aug 29, 11:51 am, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 8/28/07, Graham Dumpleton <[EMAIL PROTECTED]> wrote:
> ...
>
> > Most importantly, you should rigorously test your application to
> > ensure that it is truly safe to use in a multit
On Aug 29, 11:06 pm, b3n <[EMAIL PROTECTED]> wrote:
> Hey I managed to get Apache to find Django!
>
>
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> PythonPath "['C:\Python'] + sys.path"
> SetEnv DJANGO_SETTINGS_MODULE bookmarks.settings
> PythonD
See:
http://code.djangoproject.com/ticket/5299
and the reference mailing list thread.
If you do not reference through the site name, you need to add the
directory for the site to PythonPath.
Graham
On Sep 3, 6:14 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> i used the development se
Apache normally runs as a special user. Are your files and the
directories leading down to them readable to others so that the Apache
user can find them and read them?
Graham
On Sep 11, 6:49 am, shabda <[EMAIL PROTECTED]> wrote:
> I am trying to deploy django, and to test the install I am doing
On Sep 10, 6:19 pm, Rufman <[EMAIL PROTECTED]> wrote:
> im having problems serving media files in apache together with django.
> Somehow Apache can't get the admin media files or my own (located at /
> projectroot/media) for that matter.
>
> my apache conf file:
>
>
> ServerNamewww.bridge
On Jan 6, 11:01 am, Josh Ourisman <[EMAIL PROTECTED]> wrote:
> Perhaps also worth
> mentioning, is that if I don't put 'SetEnv PYTHON_EGG_CACHE /home/
> django/.python-eggs' in my vhosts.conf I get errors saying that /
> root/.python-eggs is unreadable, though I have no idea why it should
> be try
On Jan 6, 9:23 pm, kbochert <[EMAIL PROTECTED]> wrote:
> On Jan 5, 5:46 pm, Michael Hipp <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
>
> > I'm hoping to rework my website into Django, but am having trouble at my
> > shared hosting provider (HostMonster).
>
> > They don't support mod_python, so Hos
On Jan 8, 2:29 pm, Michael Hipp <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> >>RewriteRule ^djangosite/(.*)$ mysite.fcgi/$1 [QSA,L]
>
> >> would only use the fcgi stuff on the urls that resolved to the
> >> djangosite directory???
>
> &
On Jan 8, 8:50 am, ryan k <[EMAIL PROTECTED]> wrote:
> I used svn propset svn:external so my project (in transition to
> another developer when I return to college) can easily use the most
> recent version fo Django (and comment_utils, etc). How can I ensure
> that the project uses that django mod
On Jan 8, 11:36 pm, "Ravi Kumar" <[EMAIL PROTECTED]> wrote:
> I am sorry. I mean to say "Django on Apache" has some memory overusage and
> leak problem due to mod_python or whatever :)
To repeat was Kenneth said but in respect of your clarification,
'where did you hear this? It is not true. '. :-
On Jan 9, 6:04 pm, "Ravi Kumar" <[EMAIL PROTECTED]> wrote:
> Yes, I am using older self compiled version. Hmm,
> Well, lets look at what the new release has now.
> Are you people sure when I setup Django on mod_python+Apache+Linux, there
> won't be memory issues like what I read about the older mo
On Jan 11, 8:50 am, Michael Hipp <[EMAIL PROTECTED]> wrote:
> Hello,
>
> My "main" Django site is working great. But on my shared hosting account
> (HostMonster) I have multiple sites. Some will be Django, some will be
> plain html.
>
> How do I set this up (specifically in settings.py, urls.py an
On Jan 11, 1:13 pm, Michael Hipp <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > On Jan 11, 8:50 am, Michael Hipp <[EMAIL PROTECTED]> wrote:
> >> Hello,
>
> >> My "main" Django site is working great. But on my shared hosting account
&g
On Jan 15, 12:47 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
>
> Is there an Apache or Python main config file that needs to be set a
> certain way to allow my PYTHONPATH to be accessed or exported for
> Apache.
In the same directory as the Apache executable, 'httpd', 'apache2' or
whatev
On Jan 15, 2:48 pm, scott_in_springfield <[EMAIL PROTECTED]>
wrote:
> Thank you, Graham.
>
> > In the same directory as the Apache executable, 'httpd', 'apache2' or
> > whatever your platform calls it, there should be an 'envvars' file.
>
> I didn't find this file anywhere. Found no 'envvars' on t
First verify Django is being picked up from where you think it is by
doing:
import django
print django.__file__
Second, ensure that the installed Django files have permissions that
would allow user that Apache may be running as to access it. That is,
if Apache is running as a service and the
On Jan 19, 8:49 am, John M <[EMAIL PROTECTED]> wrote:
> I guess I wasn't clear on the PURPOSE to do it, experience, not
> practicality.
>
> I love the built-in django server, it's awesome, how much easier could
> anyone make it, I think none. But, I wanted to get ready for what it
> might be like
On Jan 19, 1:34 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> We are running django on mod_python with PythonDebug set to Off, and
> PythonAutoReload set to Off and we see that the calls to
> ContentType.objects.get_for_model(Model) hit the database any way. Any
> clue?
Do note t
The mod_wsgi package gets affected by a lot of similar issues to
mod_python. The documentation for mod_wsgi covers various shared
library and name space conflicts including that of MySQL, PHP etc in:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues
Even if using mod_python useful to rea
Post your Apache configuration snippet where you configure mod_python
for Django.
Post your full urls.py file.
Indicate the path to the directory containing the settings.py file so
we can see if it matches with what it is meant to be.
Graham
On Jan 21, 6:22 pm, Carl Karsten <[EMAIL PROTECTED]>
ettings.py file is in and the parent of that directory.
Graham
On Jan 22, 1:43 am, Carl Karsten <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
> > Post your Apache configuration snippet where you configuremod_python
> > for Django.
>
>
>
>
File "/home/testrmcom/django/core/urlresolvers.py" in reverse
> 282. if lookup_view in self.reverse_dict:
> File "/home/testrmcom/django/core/urlresolvers.py" in _get_reverse_dict
> 218. for key, value in
> pattern.reverse_dict.ite
BTW, Carl.
I note that you actually directly responded to that old thread I
referenced explaining the subtle differences, so you would have been
aware of how to set things up back then, so not sure why you are
having trouble now. ;-)
Graham
On Jan 22, 6:51 pm, Graham Dumpleton <[EM
On Jan 22, 6:18 pm, Carl Karsten <[EMAIL PROTECTED]> wrote:
> Carl Karsten wrote:
> > symlinks. I use them. I bet the default is for Apache not to follow them.
> > that
> > could be my problem. or at least one of them.
>
> > That is enough to start a wiki page.
>
> > I am going to divide it in
On Jan 30, 1:33 pm, Noah <[EMAIL PROTECTED]> wrote:
> It doesn't happen on every page view... the server runs fine for days
> and then POOF collapse, every site
Just a clarification on your configuration for mod_python. Each of
these sites runs in a separate Python interpreter instance. Yes/No?
T
On Jan 30, 3:59 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I've been beating my head against this problem for a while now, and I
> apologize if I'm asking again (I did look, believe it or not).
>
> I'm working on a development laptop, and I've got Django working on my
> apache server.
Setting PythonInterpreter should not have been required as when
VirtualHost's are configured properly mod_python will give each
VirtualHost a different interpreter anyway.
The cause of this probably has generally been that the Apache
configuration was missing an appropriate NameVirtualHost direct
601 - 700 of 1006 matches
Mail list logo