On Oct 22, 2:23 am, projecktzero <[EMAIL PROTECTED]> wrote:
> On Oct 20, 4:17 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Mon, Oct 20, 2008 at 5:15 PM, projecktzero <[EMAIL PROTECTED]>wrote:
> > > I'm pretty new to Django. I'm having trouble getting my Django
> > > app/web-site to
On Oct 21, 10:51 pm, Thomas Guettler <[EMAIL PROTECTED]> wrote:
> Ulf Kronman schrieb:> I'm using Django trunk and I have set the
> MaxRequestsPerChild 1
> > directive in httpd.conf. I'm running on Windows XP (sp3?).
>
> Here a guess:
>
> Apache creates several threads (or worker processes) and a
On Oct 22, 10:52 am, "M.Ganesh" <[EMAIL PROTECTED]> wrote:
> Hi Daniel,
>
> I am also facing the same problem. I really can't understand the
> technicalities of the solution offered in this thread. Since you seemed
> to have solved the problem, can you please give a little more details on
> how
On Oct 23, 3:01 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Wed, Oct 22, 2008 at 11:31 AM, GPSGuy <[EMAIL PROTECTED]> wrote:
>
> > Option One: Reloading Wrapper
> > I now that there is caching going on, but I am still not sure why. I
> > did find a work around, though I would still like
On Oct 23, 2:00 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> that would be great but i can't allow my users access to http.conf as
> i said i am a shared reseller so i am offering django to my clients.
Apache/mod_wsgi can be used in a similar vein to FASTCGI, with user
code running in s
Look at the Django source code for what the mod_python authentication
handler does and for the bit where it is interacting with Django user
database, do the same. The mod_wsgi documentation also gives an
example in the section dealing with authentication provider.
http://code.google.com/p/modws
ng PHP mhash)
That one I can't help you with as know nothing about PHP. I presume
there is a configuration file for PHP somewhere you need to edit and
comment out load line for PHP mhash module.
Graham
> Thanks in advance
> Regards Ganesh
> Graham Dumpleton wrote:Disabling the PHP
On Oct 26, 12:32 pm, "Adam Fast" <[EMAIL PROTECTED]> wrote:
> It's worth mentioning as well that the Django "built-in" dev server is
> single-threaded the last time I heard, and with transferring large
> files / the application itself, I see a lot of your users getting
> "busy signals" so to spe
On Oct 27, 2:00 pm, killer barney <[EMAIL PROTECTED]> wrote:
> I'm not too familiar with how to handle subdomain requests on django.
> If i have test.example.com, is this somethign I'm supposed to find in
> the urls.py?? Or is this done in the middleware?
>
> I'm really confused about this, so y
On Oct 27, 6:43 pm, Aljosa Mohorovic <[EMAIL PROTECTED]>
wrote:
> On Oct 27, 5:52 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > A single instance of the web application would then handle each
> > virtual host.
>
> is this something that is po
On Oct 28, 4:01 am, Giles Thomas <[EMAIL PROTECTED]>
wrote:
> Hi all,
>
> We're implementing some new stuff for our website in Django;
> unfortunately our site currently uses PHP quite heavily (for MediaWiki,
> Wordpress, phpBB and the like), and when we tried deploying the first
> cut of the solu
On Oct 28, 3:05 pm, geezer <[EMAIL PROTECTED]> wrote:
> hi,
>
> when deploying to a real site, django says i dont have writable access
> to a python eggs cache, when i redirect the python eggs cache, placing
> it into a new writable directory the browser crashes, exactly what are
> the steps to
On Oct 28, 2:24 am, "yuanyun.ken" <[EMAIL PROTECTED]> wrote:
> Hi, all great Django users and developers, I have a little problem.
> To make @login_required work,
> I have to configure those in settings.py:
> root_url = '/root_url/'
> LOGIN_URL = root_url + '/login/'
> LOGOUT_URL = root_url + '
On Oct 28, 11:58 pm, Giles Thomas <[EMAIL PROTECTED]>
wrote:
> Graham,
>
> Thank you again for the help - as you might have guessed, my separate
> question that you answered on themod_wsgilist was because I'd decided
> to try out the WSGI solution to the problem first.
>
> What's very strange is
On Oct 31, 10:14 am, Håkan Waara <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
> I'm in the process of for the first time deploying a django site that
> (unfortunately) needs to share its Apache with an existing PHP site.
>
> I've been reading a bunch about mod_wsgi and in many places there are
>
On Oct 31, 10:04 am, "Naitik Shah" <[EMAIL PROTECTED]> wrote:
> I'm serving a few sites from a tiny VPS, and I'm quite happy with a
> Apache/mod_wsgi setup. I've managed to reduce the Apache footprint by having
> only a few necessary modules loaded. mod_wsgi is setup to use daemon mode
> and sta
The OP, if they don't need mod_python should also disable it and not
load it into Apache at the same time as mod_wsgi. The mod_python
versions is quite old and buggy and mod_python can interfere with
mod_wsgi especially causing certain configuration options for mod_wsgi
to not work. The mod_wsgi v
On Oct 31, 4:09 pm, "Naitik Shah" <[EMAIL PROTECTED]> wrote:
> > Also indicate how much traffic each site gets and whether any would
> > potentially be idle for periods, as can then look at inactivity
> > timeouts etc.
>
> As embarrassing as it sounds, I don't have good numbers available yet. Th
[EMAIL PROTECTED] wrote:
> Hello,
> I'm trying to receive a possibly large XML message via HttpRequest
> (POST method) with chunked encoding. However, when I send a response,
> I found out (using Wireshark) that the response is being sent before
> the whole POST request body is available. I expe
On Nov 1, 8:44 am, "Naitik Shah" <[EMAIL PROTECTED]> wrote:
> On Fri, Oct 31, 2008 at 1:01 PM, Naitik Shah <[EMAIL PROTECTED]> wrote:
> > On Thu, Oct 30, 2008 at 10:58 PM, Graham Dumpleton <
> > [EMAIL PROTECTED]> wrote:
>
> >> In respec
On Nov 1, 10:06 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> On Nov 1, 8:44 am, "Naitik Shah" <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Fri, Oct 31, 2008 at 1:01 PM, Naitik Shah <[EMAIL PROTECTED]> wrote:
> > > On Thu, Oct 30, 2008
On Nov 1, 8:22 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm using chunked transfer encoding and i send a post http request to
> my Django application. But when I try to read the post body, it's not
> there (request.POST.keys() returns []). according to Wireshark, I send
> the
On Nov 1, 4:54 am, Håkan Waara <[EMAIL PROTECTED]> wrote:
> 31 okt 2008 kl. 16.43 skrev ilyail3:
>
>
>
>
>
> > hello people, Is there a way to host several django projects under a
> > single virtual host?
> > I know this is possible with mod_php with wildcards as server alias
>
> > and later map
t-Length header wouldn't be set. Thus why you are seeing
no input.
Graham
> On Fri, Oct 31, 2008 at 11:50 PM, Graham Dumpleton
>
> <[EMAIL PROTECTED]> wrote:
>
> > [EMAIL PROTECTED] wrote:
> >> Hello,
> >> I'm trying to receive a possibly large
Just be aware that by default mod_python assigns sub interpreters per
name based virtual host and doesn't take into consideration the
listener port. Therefore, if having two listener ports on the same
host name, the same sub interpreter will be used for both, which means
that Django instances will
On Nov 3, 7:09 am, belred <[EMAIL PROTECTED]> wrote:
> is touchingt the wsgi file supposed reload every file in the the
> entire django project or just just reload the one wsgi file?
If you are talking about the WSGI script file when using Apache/
mod_wsgi, it depends on how you have Apache/mod
On Nov 3, 2:03 am, belred <[EMAIL PROTECTED]> wrote:
> On Nov 2, 3:29 am, Steve Holden <[EMAIL PROTECTED]> wrote:
>
>
>
> > belred wrote:
> > > i have an wget event in a cron job. the view does some processing
> > > which involves calling external websites and databases (takes about 25
> > > se
7; attribute is an Apache specific variable which
indicates the target resource, which in this case just happens to be
the WSGI script file.
If you want code to be portable beyond mod_wsgi, this would need to be
written differently. I'll elaborate on that more later if need to.
The user that mod_ws
On Nov 3, 12:31 pm, belred <[EMAIL PROTECTED]> wrote:
> thanks for your detailed explanation. i had to read it 3 times to try
> to absorb everything :) i do not need to have the code be portable
> beyond mod_wsgi. if i'm following what you and steve have said and
> pages you both pointed me to
On Nov 3, 11:53 am, belred <[EMAIL PROTECTED]> wrote:
> On Nov 2, 2:58 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
>
>
> > On Nov 3, 2:03 am, belred <[EMAIL PROTECTED]> wrote:
>
> > > On Nov 2, 3:29 am, Steve Holden <[EMAIL PROTECTE
On Nov 4, 5:08 pm, Dave Dash <[EMAIL PROTECTED]> wrote:
> I am witnessing this issue using manage.py runserver.
>
> The only useful information I can give is this was working when I was
> running .97 (or whatever was the trunk a few months back), I recently
> upgraded to the latest trunk (~1.1)
On Nov 6, 11:24 am, craic <[EMAIL PROTECTED]> wrote:
> with django, is it possible to restrict the calling host of particular
> urls to be the localhost?
>
> namely, is there a way to restrict say a set of web services
> implemented in django to be only accepted if they are the same domain
> as
On Nov 6, 4:00 pm, "DULMANDAKH Sukhbaatar" <[EMAIL PROTECTED]>
wrote:
> > The one thing left that I'd like to do is set up Django to run
> > continuously, even when there are no http requests. My application
> > runs a bunch of periodic background tasks in addition to serving up
> > web conten
On Nov 7, 2:38 am, huw_at1 <[EMAIL PROTECTED]> wrote:
> Hi all. I am having some real problems with this. I have an LDAP
> authentication backend that I have hooked up to my app. Standalone it
> appears to run fine. However when running it through my apache server
> I am seeing alot of segmentat
On Nov 8, 5:39 am, project2501 <[EMAIL PROTECTED]> wrote:
> Hi,
> I got Django to work behind Apache2 with mod_python, but had some
> questions for the experts.
>
> 1) Is there an easy way to log stdout without re-writing all my output
> statements? What about python logging?
Anything sent to
a340)
> libsepol.so.1 => /lib64/libsepol.so.1 (0x0039a300)
>
> To me everything matches up. I have had a few other suggestions such
> as using strace. This however has so much detail in it is difficult to
> trace anything in a multi-thread/child environment.
On Nov 10, 5:50 pm, "DULMANDAKH Sukhbaatar" <[EMAIL PROTECTED]>
wrote:
> > Ok. But are the configuration lines any different or will they
> > change. If anyone has a good tutorial written could you please post
> > it. Also, What does this line mean ?
> > SetEnv DJANGO_SETTINGS_MODULE mysite.s
thon as mod_wsgi
only supports Python web application supporting WSGI interface, as
nearly all do these days. The mod_python module provides its own
framework for developing web applications as well.
Graham
> Many thanks
>
> Huw
>
> On Nov 8, 10:05 am, Graham Dumpleton <
; in my apache config. Anyone see a problem? I feel like it has to do
> with
>
> PythonOption django.root /
>
> When I have this line in the config the admin site doesn't work. When
> I don't the admin works, but with no style sheet.
>
> On Nov 10, 7:19 pm,
On Nov 13, 6:48 am, "Serdar T." <[EMAIL PROTECTED]> wrote:
> Can someone offer advice on server deployment headaches involving
> apache/mod_wsgi/nginx? I seem to be having two problems:
>
> 1) Apache/mod_wsgi correctly serves dynamic content from a test app
> (located in a ~/public_html director
On Nov 12, 11:44 pm, huw_at1 <[EMAIL PROTECTED]> wrote:
> echo '/usr/local/lib' >> /etc/ld.so.conf
>
> more /etc/ld.so.conf
>
> include ld.so.conf.d/*.conf
> /usr/local/lib
>
> ldd /usr/local/bin/python
>
> libpython2.5.so.1.0 => not found
> libpthread.so.0 => /lib64/libpthread.s
On Nov 12, 11:44 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> laspal wrote:
> > hi,
> > I am trying to create folder.
> > here is the code:
> > if not os.path.isdir(str(_user.username)):
> > os.mkdir(str(_user.username) )
> > filepathwithname = os.path.join(str(_user.username), file_na
/lib64/ld-linux-x86-64.so.2 (0x0039a2c0)
>
> I still don't get why the library is being compiled in statically.
>
> On Nov 13, 12:11 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Nov 12, 11:44 pm, huw_at1 <[EMAIL PROTECTED
icle I am starting to wonder if mod_python just
> includes this library statically by default. Still, thanks for all the
> help so far. I really appreciate it.
>
> On Nov 13, 9:55 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > Because you have created the symlink for the
On Nov 15, 4:14 pm, "Chris Bai" <[EMAIL PROTECTED]> wrote:
> Can anyone point to me a reference to setup mod_python on Apache virtual
> host for Django? Or write something about it?
>
> I am able to run my app in Django development server. I am also able to set
> up virtual host to display index
Are you setting ErrorDocument directives in Apache configuration?
If you are then disable them and then actual error may not be masked.
Have you looked in Apache error log for more information?
Graham
On Nov 16, 5:53 am, Chuck22 <[EMAIL PROTECTED]> wrote:
> Here is what I tried.
>
>
> Doc
On Nov 16, 4:40 pm, Chris <[EMAIL PROTECTED]> wrote:
> I understand what you're saying. It's just unfortunate we're throwing
> out the convenience of the dev server.
>
> What's up withhttp://code.djangoproject.com/ticket/3357? Looks like
> this idea isn't new.
Using daemon mode of mod_wsgi can
002b2d9ecba000)
> libc.so.6 => /lib64/libc.so.6 (0x2b2d9ef3d000)
> /lib64/ld-linux-x86-64.so.2 (0x0039a2c0)
>
> echo $LD_LIBRARY_PATH
>
> /usr/local/lib
>
> On Nov 14, 5:17 am, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> &
Based on comments in a separate thread, GeoDango may have issues with
multithreaded configuration. Which Apache MPM was being used for each
Apache version, prefork or worker? The worker MPM uses threads and so
that could be the culprit.
Graham
On Nov 19, 10:43 am, GRoby <[EMAIL PROTECTED]> wrote
If:
ADMIN_MEDIA_PREFIX = '/media/'
means that static media URLs will all be prefixed with that, then
wouldn't:
root /home/user/public_html/mysite/public/media;
need to be:
root /home/user/public_html/mysite/public;
This is because you have location '/' on nginx mapped to this
directory
On Nov 20, 1:41 pm, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > i know that django is not recommended to serve static content via
> > django and the web server handler should be used for it.
>
> > also, the following method to serve static content in development env,
>
ry list of what is actually in:
/home/user/public_html/mysite/public
/home/user/public_html/mysite/public/media
would be useful as well.
Graham
> On Nov 19, 7:43 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > If:
>
> > ADMIN_MEDIA_PREFIX = '/media/'
.dtd";>
> http://www.w3.org/1999/xhtml"; lang="en-us" xml:lang="en-
> us" >
>
> Log in | Django site admin
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> <<<>
On Nov 26, 3:32 pm, Django Newbie <[EMAIL PROTECTED]> wrote:
> Hi Everybody,
>
> Django newbie here. I'm trying to get it to work under apache with
> mod_python on a freebsd server but running into problems. I searched
> the archives and found similar things, but I tried all the suggestions
>
On Nov 26, 5:13 pm, Chris Amico <[EMAIL PROTECTED]> wrote:
> I have a handful of apps in that folder. I can add it to sys.path
> using sys.path.insert(0, path) and they import fine after, but that
> only lasts one session. How do I make it stick?
That is what PythonPath directive is for.
Graha
mod_python are you using?
Graham
> On Nov 25, 10:29 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Nov 26, 5:13 pm, Chris Amico <[EMAIL PROTECTED]> wrote:
>
> > > I have a handful of apps in that folder. I can add it to sys.path
> > > us
either directory here.
>
> I'm using mod_python-3.2.8-3.1
I would strongly suggest you upgrade mod_python. Older versions have
lots of issues with module importing. See:
http://www.dscpl.com.au/wiki/ModPython/Articles/ModuleImportingIsBroken
Graham
> On Nov 25, 10:53 pm, Graham
On Nov 27, 1:06 am, Flo Ledermann <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> my name is flo, i am relatively new to django but would consider
> myself an experienced web developer. I am sorry if this has been asked
> hundreds of times, but after doing somewhat extensive research i still
> would li
On Nov 27, 1:10 am, Django Newbie <[EMAIL PROTECTED]> wrote:
> Graham Dumpleton wrote:
>
> > On Nov 26, 3:32 pm, Django Newbie <[EMAIL PROTECTED]> wrote:
>
> >> Hi Everybody,
>
> >> Django newbie here. I'm trying to get it to work unde
On Nov 27, 2:06 pm, Brian <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> Here's a questions I just posted on stackoverflow.com (because I like
> that forum's layout) - but I thought posting it here might lead to
> more / better coverage. See:http://stackoverflow.com/questions/322694/
>
> Multipl
er be a problem?
Graham
> Is there any more information that would be helpful?
>
> Cheers & thank you,
> Brian
>
> On Nov 26, 10:32 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Nov 27, 2:06 pm, Brian <[EMAIL PROTECTED]> wrote:
>
>
anageable solution for you, but want to be clear on these
things so know if will be or not and what configuration would need to
be.
Graham
> On Nov 26, 11:31 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Nov 27, 3:17 pm, Brian <[EMAIL PROTECTED]> wrot
On Nov 28, 2:18 am, Flo Ledermann <[EMAIL PROTECTED]> wrote:
> Graham,
>
> thanks for answering! it still feels odd comapred to the otherwise
> wisely designed parts of django... adding a directory AND its parent
> to a source path is something i have never experienced in any
> framework, in any
Since haven't seen a response to my other questions and with Malcolm's
rebuff to your idea, do I take it you aren't interested any more?
Graham
On Nov 27, 5:19 pm, Brian <[EMAIL PROTECTED]> wrote:
> Malcolm:
>
> Thanks for the reply.
>
> > Whilst I'm all in favour of attempting to solve problems
On Nov 28, 12:06 pm, Brian <[EMAIL PROTECTED]> wrote:
> > For each account, through what do they login initially? Are you
> > expecting to use Django based login mechanisms for that, or do you
> > front it all with HTTP Basic Authentication. If you are going to
> > somehow switch based on their id
Just letting you know off list that I will respond, just need to find
some uninterrupted time to do so. Reply will be back to the list.
Graham
On Nov 28, 2:55 pm, Brian <[EMAIL PROTECTED]> wrote:
> > > This is a good question, and I haven't come to a conclusion. Probably
> > > it'll be the Djang
On Nov 29, 9:31 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> Just letting you know off list that I will respond, just need to find
> some uninterrupted time to do so. Reply will be back to the list.
Hmmm, wrong button. No matter ..
Graham
> Graham
>
> On N
On Nov 29, 2:34 pm, "Leon Yeh | New Avenue.net" <[EMAIL PROTECTED]>
wrote:
> Hi All,
>
> Usually, when I am working on django project, I have one database per
> web site. So one company has all its database in one single mysql database.
>
> However recently I am working on a site that had requir
On Nov 28, 2:55 pm, Brian <[EMAIL PROTECTED]> wrote:
> > > This is a good question, and I haven't come to a conclusion. Probably
> > > it'll be the Django built-in application-based authentication,
> > > particular to each Django instance. There will be a master map of all
> > > users to their res
outline a solution.
Graham
> Somebody must have seen this problem before and could have solved it. I
> am going back to see if pinax project has something like this.
>
> Anyhow, back to my research.
>
> Leon Yeh
>
> Graham Dumpleton wrote:
>
> > On Nov
Graham Dumpleton wrote:
> That is basically it and hopefully it makes sense. It may seem a bit
> complex, but what you want to do isn't normal. Also, it all could have
> been done a bit simpler if were using mod_wsgi 3.0 development code
> from subversion trunk as with that have
On Dec 4, 5:25 am, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On Wed, Dec 3, 2008 at 11:45 AM, SteveB <[EMAIL PROTECTED]> wrote:
> > I've had positive experiences with the standalone CherryPy webserver
> > Although I can't prove it, I'm suspicious that the problem may be that
> > Django is not
What locale settings do you have set in the environment of your user
account? These will not be getting used in context of Apache.
Graham
On Dec 6, 9:21 am, dayvo <[EMAIL PROTECTED]> wrote:
> Thanks for the response Andy.
>
> The code does work fine in the interpreter. It's when the code is
> c
On Dec 6, 10:07 am, dayvo <[EMAIL PROTECTED]> wrote:
> Good question. That could affect the app if I were using relative
> path's or relying on the environment to locate files. The path's I'm
> using in the app are stored are absolute paths. They work correctly
> for path's that don't have un
On Dec 8, 10:15 pm, Pablo Ruiz Múzquiz <[EMAIL PROTECTED]> wrote:
> Hmm. That is exactly what I meant with "No matter what I do with
> Apache's PythonPath".
> I have that same configuration you posted and /admin (and other stuff)
> won't work (most certainly because of the django version mismatc
On Dec 9, 8:50 am, Andrew Fong <[EMAIL PROTECTED]> wrote:
> When I'm poking around in my Django app, my development server
> (manage.py runserver) will sometimes quit without raising an exception
> or leaving any messages. I am not tinkering around with the code or
> doing anything that would fo
On Dec 9, 6:53 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hi, I'm converting to the excellent mod_wsgi and wondering if it's
> possible to make a single httpd virtual host/wsgi file to manage
> wildcard subdomains.
>
> Basically I have an app where i'm creating a new instance for each
ed something
like the distinct settings file for each site and have the process
itself send a SIGINT to itself. This would be a variation on
background reloader described in:
http://code.google.com/p/modwsgi/wiki/ReloadingSourceCode#Restarting_Daemon_Processes
More later.
Graham
> Thanks an
On Dec 10, 3:10 am, Jeff Anderson <[EMAIL PROTECTED]> wrote:
> Hello,
>
> First, I'm gonna say that I have DEBUG turned off, and it's not Django's
> fault.
>
> My Django sites seem to eat lots of memory. This is fine, and it isn't a
> huge deal except that I am using all of my VPS's memory plus
Forgot to ask, what platform?
On Dec 11, 10:05 am, Andrew Fong <[EMAIL PROTECTED]> wrote:
> I'm using MySQLdb, cmemcache, PIL, and the django.contrib.gis stuff.
>
> On Dec 8, 2:58 pm, Graham Dumpleton <[EMAIL PROTECTED]>
> wrote:
>
> > On Dec 9, 8:50 am,
On Dec 11, 8:06 pm, Tobias Kräntzer
<[EMAIL PROTECTED]> wrote:
> Am Donnerstag, den 11.12.2008, 00:05 +0100 schrieb Andrew Fong:
>
> > I'm using MySQLdb, cmemcache, PIL, and the django.contrib.gis stuff.
>
> Hi, we had a similar problem. It turns out, that in our case it was a
> multithreading i
On Dec 12, 8:32 am, garagefan wrote:
> I figured out my issue with the "access denied, suspicious operation"
> bull...
>
> apparently the only way the admin side of my site can upload an image
> to a directory is by having "other" set to have full rwx set... ie
> chmod **7 I'm not so sure this
/mod_wsgi (not mod_python) and specifically using
mod_wsgi daemon mode, with a distinct user defined for the daemon
process and thus your Django application to run as.
Graham
> On Dec 11, 4:45 pm, Graham Dumpleton
> wrote:
>
> > On Dec 12, 8:32 am, garagefan wrote:
>
> >
don't have o+rwx.
I am biased, but arguable that mod_wsgi is a better overall choice
these days than mod_python anyway and with mod_python fading away to a
degree, better long term choice.
Graham
> On Dec 11, 4:59 pm, Graham Dumpleton
> wrote:
>
> > On Dec 12, 8:52 am, garage
On Dec 13, 10:18 am, vytautas wrote:
> [Fri Dec 12 13:27:07 2008] [error] Model read finished. Duration
> 1.2693259716
> [Fri Dec 12 13:27:07 2008] [error] Model validity check skipped
> [Fri Dec 12 13:27:09 2008] [error] Model read finished. Duration
> 1.23547005653
> [Fri Dec 12 13:27:09 2008
On Dec 13, 12:05 pm, Jim wrote:
> Hi,
>
> I'm experimenting with building a web server with embedded python and
> I'd like to setup and include Django. The server works by loading a
> main python script into memory at startup and then script registers a
> callback routine to handle incoming m
andled the server can't be doing anything else. Thus, if you
expect concurrency within a single process, you would need to use
threads. Other option is to run multiple processes to handle requests.
Why are you developing your own web server in the first place when
there are already so many optio
> Also, I *am* looking at using an available web server to accomplish
> this task, but I wanted to look into this first.
>
> On Dec 13, 3:40 pm, Graham Dumpleton
> wrote:
>
> > Jim wrote:
> > > Hi Graham,
>
> > > Thanks for your response. I've take
On Dec 16, 9:45 pm, architecture wrote:
> i was working with php and always i put the favicon.ico in the root of
> the website but now the problem with django occurs
> now i'm working with django and i have a problem now
> i used
> 1. static.serve
> 2. .htaccess
> 3.redirect_to
>
> but none of th
On Dec 18, 10:12 am, felix wrote:
> you can put it directly in your http-vhosts.conf file
>
>
> ServerName crucial-systems.com
> DocumentRoot /home/crucial/crucial-stack/crucialwww
> ... etc...
>
> Alias /favicon.ico "/home/crucial/crucial-stack/crucialwww/favicon.ico
On Dec 20, 12:48 am, Andreas Gustafsson wrote:
> What's the recommended way to protect a Django application against
> denial of service via huge file uploads or huge POST requests in
> general? If I set the LimitRequestBody option in the Apache
> configuration file, mod_python throws an omino
On Dec 20, 9:19 pm, Andreas Gustafsson wrote:
> On Dec 19, 11:45 pm, Graham Dumpleton
> wrote:
>
> > It hasn't got anything to do with LimitRequestBody. That this but
> > exists in current versions of mod_python and can crop up at random
> > times is a good
On Dec 21, 12:54 pm, Jeff Anderson wrote:
> MS wrote:
> > I am learning Django under Windows Vista.
>
> > I am using Python 2.5 and Wamp5. The document root for Apache is set
> > to c:/wamp/www/
>
> > I have a project under c:/wamp/www/DjangoProjects/mysite
>
> Don't do that. You don't need you
t back to you last time, it was a hectic few weeks.
Things have settled down somewhat now, so I'll go back over your
original post and work out again what it is you were trying to do.
Graham
> Thanks and Regards,
> Ben
>
> On 9 Dec 2008, at 10:18, Graham Dumpleton wrote:
>
take up?
How many different site instances would you have?
Are all the site instances distinguishable by server name alone?
Graham
On Dec 23, 9:00 am, Graham Dumpleton
wrote:
> On Dec 22, 9:44 pm, Ben Eliott wrote:
>
> > Hi Graham,
> > I've finally managed to g
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 URL. In
fact this may
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. Listing things in the DB,
>
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 generic
>
> NameVirtualHost *
the configuration.
Graham
On Jan 4, 12:47 pm, Graham Dumpleton
wrote:
> 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 i
then we may be able to
answer.
Graham
> On Jan 3, 8:47 pm, Graham Dumpleton
> wrote:
>
> > 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?
>
> &
1 - 100 of 1006 matches
Mail list logo