2009/7/9 Damjan gdam...@gmail.com:
There is technically no way that you can determine what you want in
that way. Something like the IsClientConnected property of IIS can't
tell you that either. If it is being claimed that it can, then the
claim is wrong.
I thought that for a TCP
have a think about it and see what else I can suggest.
Graham
David Cramer
On Wed, Jul 8, 2009 at 8:00 PM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
2009/7/9 David Cramer dcra...@gmail.com:
We are running the aptitude package (in Ubuntu) which says Version:
2.3-1build1
That Apache runs as a multi process web server on UNIX may also be a
contributor to why it wasn't working as you expected. Have a read of:
http://code.google.com/p/modwsgi/wiki/ProcessesAndThreading
Graham
2009/7/9 aiden aiden...@googlemail.com:
The cause turned out to be my
2009/7/9 cubsfanintampa ajc...@gmail.com:
Looks like I can use WSGIDaemonProcess / WSGIProcessGroup in each
virtual host and use a different python path. Faboosh.
Yes. It does mean that your applications are running in separate
processes, but that is actually preferred somewhat over embedded
;)
On Jul 8, 8:23 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/9 David Cramer dcra...@gmail.com:
I can't confirm if this has solved the GeoDjango issue but I can say that
the other issue is still present. Here's what I get (on any attempt, and
any
case) in the error log
2009/7/10 Mike McGrath imli...@gmail.com:
On Tue, Jun 30, 2009 at 5:01 PM, Graham
Dumpletongraham.dumple...@gmail.com wrote:
2009/6/30 Graham Dumpleton graham.dumple...@gmail.com:
2009/6/30 Ricky Zhou ri...@rzhou.org:
Hey, I'm working with Mike on debugging these 500s.
On 2009-06-30 08
How are you currently using apache.import_module()? Are you using fact
that 'import' from document directory underneath uses
apache.import_module()?
Graham
2009/7/9 cubsfanintampa ajc...@gmail.com:
Hi Graham,
See responses below.
Thanks,
-aj
On Jul 8, 3:30 am, Graham Dumpleton
2009/7/13 Aslan cocoke...@gmail.com:
Hi,
I meet a problem about CheeryPy and WSGIDaemonProcess. If you can
help, please give me some suggestions, THANKS
I have a program which is built with CherryPy, it is very easy and
shown as following...
Possibly addressed in mod_wsgi 2.6:
http://code.google.com/p/modwsgi/wiki/ChangesInVersion0206
Either check out unreleased 2.6 from subversion branch, or at least
grab updated copies of the two files:
http://modwsgi.googlecode.com/svn/branches/mod_wsgi-2.X/configure
really need Python to be universal. If don't
and just rebuild mod_wsgi to not be universal, Apache will later crap
out because it is universal.
Read the whole of that document.
Graham
2009/7/14 Graham Dumpleton graham.dumple...@gmail.com:
Possibly addressed in mod_wsgi 2.6:
http
2009/7/15 Garito gar...@gmail.com:
Hi!
I have a mod_wsgi application almost finished and ready for testing
before launching
I'm a little scared about its security
Can you advise me a good tool or tutorial about how to test my app
security?
I'll let others recommend actual testing tools
2009/7/15 Garito gar...@gmail.com:
2009/7/15 Graham Dumpleton graham.dumple...@gmail.com
2009/7/15 Garito gar...@gmail.com:
Hi!
I have a mod_wsgi application almost finished and ready for testing
before launching
I'm a little scared about its security
Can you advise me a good
2009/7/15 Guillaume Simard gui...@gmail.com:
Hi everyone,
I'm new to mod_wsgi and I would like to know if it is possible to
authenticate users only once every X seconds.
I would like to use something similar to
http://code.google.com/p/modwsgi/wiki/AccessControlMechanisms ,
however my
to do.
-Birkin
On Jul 13, 9:53 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
Whoops. Actually jumped to wrong conclusions here as didn't read error
messages properly.
The problem is that your Python hasn't been installed for all architectures.
See:
http://code.google.com/p/modwsgi
2009/7/17 Alan alanwil...@gmail.com:
I tried this
http://groups.google.com/group/modwsgi/browse_thread/thread/42de104289d6b26f/cf82fb99ed34996c?lnk=gstq=_PyExc_RuntimeError#cf82fb99ed34996c
But it didn't work, I still have the same problem reported there. The
difference I am doing is that
2009/7/17 Ronaldo Maia mai...@gmail.com:
Hello all.
Reading the documentation, I came up with this for my site:
VirtualHost
This is wrong, should be something like:
VirtualHost *:80
ServerName www.stoq.com.br
AddDefaultCharset utf-8
DocumentRoot /var/www/stoq.com.br/www
with the first.
Yes, unless you have a very specific requirement for Python 2.6, just
use the operating system supplied tools. It is just so much easier.
Graham
On Jul 15, 11:29 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
What do you get running:
file
/opt/local/Library/Frameworks
On Jul 17, 2:47 pm, Andrew zen...@gmail.com wrote:
Hi there,
Hoping that someone might be able to help me with a weird mod_wsgi
issue I'm having!
I have the following in my index.wsgi file:
#! /usr/bin/env python2.6
def application (environ, start_response):
response_headers =
2009/7/17 Andrew zen...@gmail.com:
WSGIDaemonProcess develop.lionsafc processes=2 threads=15
display-name=%{GROUP} python-path=/usr/local/lib/python2.6/site-packages/
BTW, you don't need to add installed Python's site-packages directory
yourself, it should be done automatically. If that
statically rather
than as shared library, that can cause all sorts of problems.
Surprised it didn't just crash.
Thanks for letting me know what the solution was.
Graham
Cheers,
Andrew
On Jul 17, 3:11 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/17 Andrew zen...@gmail.com
Release candidate 4 for mod_wsgi 3.0 is now available.
Downloadable from:
http://code.google.com/p/modwsgi/downloads/list
Cumulative changes detailed in:
http://code.google.com/p/modwsgi/wiki/ChangesInVersion0300
Note that if you were using ability to step outside of WSGI
specification
2009/7/17 Alan alanwil...@gmail.com:
More info:
~/Programmes/mod_wsgi-2.5% file
/sw/lib/python2.6/config/libpython2.6.dylib
/sw/lib/python2.6/config/libpython2.6.a
/sw/lib/python2.6/config/libpython2.6.dylib: Mach-O dynamically linked
shared library i386
Use 3.0c4 instead. It had already been fixed in that.
If you can't update, then set:
WSGIErrorOverride Off
in Apache configuration instead.
Graham
2009/7/18 Peter Yen colorp...@gmail.com:
Hi,
Run as daemon mode and integrate with Django, the def application does
return the custom
2009/7/18 Damjan gdam...@gmail.com:
Python 2.6 and 3.x have this feature[1], and since I only use 2.6
now ... I also would like to use this instead of virtualenv/etc...
I install packages with pip.py like so:
export PYTHONUSERBASE=/some/path
pip.py install --install-option=--user Werkzeug
2009/7/20 Malcolm mlalk...@gmail.com:
Hello,
I am using mod_wsgi 2.3 with Apache 2.2.11 on Ubuntu 9.04.
I seem to be having problems where the code I put in on of my WSGI
application files, (django.wsgi) is affecting the (sub) interpreters
of other WSGI applications.
Here is the
2009/7/20 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/20 Malcolm mlalk...@gmail.com:
Hello,
I am using mod_wsgi 2.3 with Apache 2.2.11 on Ubuntu 9.04.
I seem to be having problems where the code I put in on of my WSGI
application files, (django.wsgi) is affecting the (sub
2009/7/20 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/20 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/20 Malcolm mlalk...@gmail.com:
Hello,
I am using mod_wsgi 2.3 with Apache 2.2.11 on Ubuntu 9.04.
I seem to be having problems where the code I put in on of my WSGI
2009/7/21 gert gert.cuyk...@gmail.com:
On Jul 17, 9:54 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
Release candidate 4 for mod_wsgi 3.0 is now available.
Downloadable from:
http://code.google.com/p/modwsgi/downloads/list
Cumulative changes detailed in:
http
2009/7/21 Malcolm Lalkaka mlalk...@gmail.com:
On Mon, Jul 20, 2009 at 1:20 AM, Graham
Dumpletongraham.dumple...@gmail.com wrote:
2009/7/20 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/20 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/20 Malcolm mlalk...@gmail.com:
Hello,
I
2009/7/21 Andrew zen...@gmail.com:
Hiya,
Apologies for resurrecting a dormant topic, but I've just spent a
couple of hours spinning my wheels on this and have found that one
possible cause for the bucket brigade error message is a bug in Safari/
OS X:
Thanks for posting this. I have read
seconds. Is it something wrong
with my configuration?
2009-07-21
Joshua Wang
ex-GDNTer
发件人: Graham Dumpleton
发送时间: 2009-07-21 11:53:32
收件人: modwsgi
抄送:
主题: [modwsgi] Re: How mod_wsgi handle concurrent wsgi request
with this but mod_wsgi doesn't :(
On Jul 18, 6:26 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/17 Mike Plavsky supermapl...@gmail.com:
Hi Guys,
My application is located here C:\Documents and Settings\MPlavsky\My
Documents\projects\русский апач, lats part is Russian.
Does
2009/7/21 gert gert.cuyk...@gmail.com:
On Jul 21, 6:12 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/21 gert gert.cuyk...@gmail.com:
On Jul 17, 9:54 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
Release candidate 4 for mod_wsgi 3.0 is now available
The code in that area was just changed for Python 3.X. Obviously
something isn't right.
Change to use:
start_response(b'200 OK', ...)
Ie., add a 'b' in front of status string so bytes are used.
That might get it working while I get a chance to look at it.
BTW, hadn't you noticed that the
function that can use to convert UTF-8 string to wide string for
_wfopen().
Anyone with Windows programming knowledge who can advise what should be done?
Graham
On Jul 21, 12:01 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
What version of mod_wsgi are you using?
If you are mod_wsgi
Try subversion trunk again now and see if you can break it.
The code added to allow status to be bytes or unicode was indeed the problem.
Graham
2009/7/22 Graham Dumpleton graham.dumple...@gmail.com:
FWIW, I don't have this problem with status value with Python 3.1 on
MacOS X. My processes
2009/7/23 Nimrod A. Abing nimrod.ab...@gmail.com:
On Wed, Jul 22, 2009 at 8:17 PM, Graham
Dumpletongraham.dumple...@gmail.com wrote:
2009/7/22 Nimrod A. Abing nimrod.ab...@gmail.com:
2009/7/22 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/22 Mike Plavsky supermapl...@gmail.com
2009/7/22 Graham Dumpleton graham.dumple...@gmail.com:
Can you try attached binary and let me know if it works. Don't have
enough time tonight to set up example with Unicode filenames. At least
still works for hello world with normal file names.
Unless I have done something stupid in way I am
2009/7/23 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/23 Mike Plavsky supermapl...@gmail.com:
The same result. It doesn't work :( Still says fopen failed
Shouldn't you have used something like _wfopen?
I did use _wfopen(). The fopen() message is mine and I didn't distinguish.
I
2009/7/24 Eder Carneiro edercarne...@gmail.com:
Hi all
I'm in beginning of using mod_wsgi and cherrypy. I read about mod_wsgi
+ cherrypy integration on this group's wiki, and following that guide,
i could get them working toghether in a simple hello world like
application. My apache wsgi
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 23, 9:27 pm, gert gert.cuyk...@gmail.com wrote:
On Jul 23, 7:28 pm, gert gert.cuyk...@gmail.com wrote:
wsgi file downloads
--
class FileWrapper(object):
def __init__(self, fp, blksize=8192):
It seems thatPYTHONHOMEhas a totally different meaning onWindows
than UNIX boxes. OnWindowsit seems the only thing it is used for is
to resolve where relative URLs in PYTHONPATH are rooted at.
Not true. Look at lines 483-490 of getpathp.c:
if (pythonhome == NULL || *pythonhome ==
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 24, 12:28 am, gert gert.cuyk...@gmail.com wrote:
Go to administration - source tab to switch to a hg repositories
And when can we expect Graham to push on this button :)
Is this going to be like a Twilight Zone episode I saw many years ago
where
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 24, 7:22 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 24, 12:28 am, gert gert.cuyk...@gmail.com wrote:
Go to administration - source tab to switch to a hg repositories
And when can
2009/7/24 Graham Dumpleton graham.dumple...@gmail.com:
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 24, 7:22 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 24, 12:28 am, gert gert.cuyk...@gmail.com wrote:
Go to administration
2009/7/25 gert gert.cuyk...@gmail.com:
On Jul 24, 1:22 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 23, 9:27 pm, gert gert.cuyk...@gmail.com wrote:
On Jul 23, 7:28 pm, gert gert.cuyk...@gmail.com wrote:
wsgi file downloads
2009/7/25 gert gert.cuyk...@gmail.com:
On Jul 25, 3:42 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/25 gert gert.cuyk...@gmail.com:
On Jul 24, 1:22 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/24 gert gert.cuyk...@gmail.com:
On Jul 23, 9:27 pm, gert
2009/7/25 gert gert.cuyk...@gmail.com:
On Jul 24, 12:53 pm, William Dode w...@flibuste.net wrote:
On 24-07-2009, gert wrote:
On Jul 24, 9:54 am, William Dode w...@flibuste.net wrote:
On 24-07-2009, Graham Dumpleton wrote:
This project isn't exactly one where many
people are working
2009/7/28 gert gert.cuyk...@gmail.com:
On Jul 26, 1:59 am, gert gert.cuyk...@gmail.com wrote:
On Jul 26, 1:25 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/25 gert gert.cuyk...@gmail.com:
On Jul 25, 3:42 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009
2009/7/28 mixedpuppy mixedpu...@gmail.com:
I'm using mod_wsgi for an application that takes several seconds to
load when a new daemon process is started. The problem is, when the
processes restart (via maxrequest setting), even with the use of
WSGIImportScript there is a potential lag in
lines look like this:
CFLAGS = -Wc,'-arch i386'
LDFLAGS = -L/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/config -arch i386
On Jul 17, 4:37 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/17 birkin birkin.di...@gmail.com:
Graham,
What do you
2009/7/31 gert gert.cuyk...@gmail.com:
On Jul 28, 5:50 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/28 gert gert.cuyk...@gmail.com:
On Jul 26, 1:59 am, gert gert.cuyk...@gmail.com wrote:
On Jul 26, 1:25 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009
2009/7/31 gert gert.cuyk...@gmail.com:
On Jul 31, 1:04 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/31 gert gert.cuyk...@gmail.com:
On Jul 28, 5:50 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/28 gert gert.cuyk...@gmail.com:
On Jul 26, 1:59 am
2009/7/31 gert gert.cuyk...@gmail.com:
On Jul 31, 2:19 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/31 gert gert.cuyk...@gmail.com:
On Jul 31, 1:04 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/7/31 gert gert.cuyk...@gmail.com:
On Jul 28, 5:50 am
2009/7/31 gert gert.cuyk...@gmail.com:
You are going to love my next GET someURL\r\n Range:
bytes=4096-8191,0-4095 question :)
and how the hell do i generate a boundary --46228a661764c4210
For multi range requests, you have to do it all yourself with a custom
generator and can't use
2009/8/3 chris_g chrisgu...@gmail.com:
I've configured my Turbogears 1.0.8 application to run under apache
with WGSI, following these instructions:
http://code.google.com/p/modwsgi/wiki/IntegrationWithTurboGears
This works well, however I'm not seeing any traceback information in
the
When mod_wsgi was young, I created various integration guides on how
to use some of the main stream Python web applications and frameworks
in conjunction with it. This was to make the path of moving to
mod_wsgi somewhat easier, especially given that all those applications
and frameworks didn't
Try removing all the .pyc files in your source tree. If they are newer
than source file, then Python will use them instead.
If you aren't aware of what they are for, the .pyc files are a cache
of byte code generated from compiling the source code. Thus they could
contain an older copy of
2009/8/5 BrochesterL brochest...@gmail.com:
I have been trying and trying to have more than a single request in an
application at the same time, basicly i would like to have multiple
outputs in a select fashion so i can connect clients together.
i would really like an example as I am
Graham Dumpleton graham.dumple...@gmail.com:
2009/8/5 BrochesterL brochest...@gmail.com:
Could WSGIApplicationGroup effectively join or seperate process' of
python embedded or am I mistaken,
That directive only controls which sub interpreter within the specific
process which accepted the request
This is not the list for WSGIServer so perhaps go ask the authors instead.
Am not surprised they wouldn't be supporting HTTP/1.1 in response as
implementing keep alive and chunked content is a pain.
Graham
2009/8/7 gert gert.cuyk...@gmail.com:
I am testing if there are some global WSGI
2009/8/9 rupert.thurner rupert.thur...@gmail.com:
we noticed a frequent reload of the plugins on our trac installation,
see
http://groups.google.com/group/trac-dev/browse_thread/thread/e3803f5c44789f98.
what would be the easiest possibility to trac down which mod_wsgi
process / thread is
2009/8/11 Haes haes...@gmail.com:
Hi,
I'm looking to integrate wsgi applications (Django in this case) into
a legacy PHP web application. The legacy app is way to big to be
completely rewritten all at once.
Right now there are two wsgi apps installed in two subdirectories and
more to
I believe I have finally fixed the UTF8/UCS2 issue for WSGI script
paths on Window, so am close to a final release candidate. This issue
was where unicode characters could be used in file system directories
holding WSGI script file, or in name of WSGI script file itself.
The only remaining thing
2009/8/12 vishnu.kumar vishnu.ku...@mahiti.org:
Hi,
Is it possible to use webalchemy in a mod_wsgi to accelerate django
apps?
If it is a yes, then where can i find docs for achieving the same?
Did you try a Google search? One of the top posts explains how to do
it for mod_python. As the
2009/8/13 gert gert.cuyk...@gmail.com:
On Aug 12, 5:40 pm, gert gert.cuyk...@gmail.com wrote:
On Aug 12, 7:41 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
I believe I have finally fixed the UTF8/UCS2 issue for WSGI script
paths on Window, so am close to a final release
2009/8/14 Graham Dumpleton graham.dumple...@gmail.com:
2009/8/14 gert gert.cuyk...@gmail.com:
On Aug 14, 9:39 am, vishnu vishnu.ku...@mahiti.org wrote:
On Aug 14, 12:27 pm, vishnu vishnu.ku...@mahiti.org wrote:
hi Graham,
The doc first doc u showed mentions of using mod_python
2009/8/16 gert gert.cuyk...@gmail.com:
this does not show any error messages in apache log ?
Is this noise, or are you pointing out a specific problem I need to
look at. If a problem, you need to explain what it is, I am not going
to try each of these examples to try and find out.
Graham
2009/8/17 Kellie sa...@lumenlab.com:
Hi,
I am new to django and mod_wsgi. I've been reading all of the
documentation and got mod_wsgi to work with the sample script. When I
try to change it to use django I get a server error 500. Here is my
setup:
django.wsgi:
import os
import sys
2009/8/17 cd34 mcd...@gmail.com:
On Aug 16, 8:08 pm, Kellie sa...@lumenlab.com wrote:
I am new to django and mod_wsgi. I've been reading all of the
documentation and got mod_wsgi to work with the sample script. When I
try to change it to use django I get a server error 500. Here is my
2009/8/17 Kellie sa...@lumenlab.com:
Hi,
I am not using a virtual environment or sqlite3. (Thanks for the tip
though :) I really appreciate the fast replies.
I am using mod_wsgi-2.5.
Here are the relevant sections of my apache vhosts conf:
IfModule mod_wsgi.c
WSGIScriptAlias /front
/17 Graham Dumpleton graham.dumple...@gmail.com:
2009/8/17 gert gert.cuyk...@gmail.com:
I expected at least this message to show up in my log ?
print('query=',query,file=sys.stderr)
or some trace back where syntax is wrong ?
I only get a 500, I usually get at least some sign about the thing i
2009/8/17 vishnu.kumar vishnu.ku...@mahiti.org:
Hi,
I had the modwsgi installed on a Ubuntu 8.04.
But i am not sure what version i used for installing mod_wsgi in
apache?
Is there a way to check that?
As described in installation instructions:
post. I thought you
were just making some statement about it working.
Graham
On Aug 17, 8:48 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
Works fine for me on Python 3.0.1 and Python 3.1 with test program:
import sys
def application(environ, start_response):
status = '200 OK
2009/8/18 gert gert.cuyk...@gmail.com:
import os,sys
def application(environ, response):
print('STDERR %s' % __file__, file=sys.stderr)
#query=environ.get['QUERY_STRING']
query=os.path.join(os.path.dirname(__file__),'teemp')
2009/8/18 Graham Dumpleton graham.dumple...@gmail.com:
2009/8/16 gert gert.cuyk...@gmail.com:
this does not show any error messages in apache log ?
[Sun Aug 16 14:57:12 2009] [info] [client 192.168.2.17] mod_wsgi
(pid=5791, process='www', application=''): Loading WSGI script '/usr/
httpd
2009/8/20 Rilt samueltor...@gmail.com:
On Aug 18, 11:43 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/19 Rilt samueltor...@gmail.com:
To answer that, need to know about whether for these different virtual
hosts it is expected that different database, users, configuration etc
as issue with that was fixed some time back.
Graham
return _application(environ, start_response)
On Aug 9, 7:48 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/9 rupert.thurner rupert.thur...@gmail.com:
we noticed a frequent reload of the plugins on our trac installation
2009/8/20 Graham Dumpleton graham.dumple...@gmail.com:
Hmmm, I should have tested that before I sent it. Although it worked
previously, not working now except for root URL for that resource. I
stuffed up something in my environment or bobo is behaving differently
in version I have installed
Are you using the url template tag and the django.core.urlresolvers
module in your code to perform URL construction. If you are using hard
coded paths, then you will have problems if mounting at sub URLs. The
above Django features allow you to express the URL relative to
application mount point
2009/8/21 Matteo Pillon matteo.pil...@gmail.com:
Hi guys!
I'm writing a fileserver implementing webdav and a webfilemanager. It
supports virtual users and real system users. In order to support this
feature, the wsgi app has to be run as root.
Why you chose to prevent users from running
subs...@gmail.com:
What about situations where one simply wants to take a blog
application and have several subdomains use a pooled wsgi instance of
this between several vhosts?
-Steve
On Aug 19, 7:39 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/20 Rilt samueltor
2009/8/18 Graham Dumpleton graham.dumple...@gmail.com:
2009/8/18 Graham Dumpleton graham.dumple...@gmail.com:
2009/8/16 gert gert.cuyk...@gmail.com:
this does not show any error messages in apache log ?
[Sun Aug 16 14:57:12 2009] [info] [client 192.168.2.17] mod_wsgi
(pid=5791, process
Gert, now that logging of exceptions in Python 3.X is working again
for module level errors, can you indicate whether error is being
generated for following, or whether still some other issue you don't
understand. Ensure you explain details well as I don't have time to
troll through it and try
On
WSGILazyInitialization On
WSGIRestrictEmbedded On
On Aug 25, 2:22 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
Gert, now that logging of exceptions in Python 3.X is working again
for module level errors, can you indicate whether error is being
generated for following, or whether still some other
2009/8/26 gert gert.cuyk...@gmail.com:
On Aug 25, 10:36 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/26 gert gert.cuyk...@gmail.com:
curlhttp://192.168.2.17/appwsgi/wsgi/download2.wsgi-v
this does not work
response('200 OK', [('Content-Type', 'text/plain'), ('Content
2009/8/28 Ulf Schröder ulf.schro...@gmail.com:
I have build mod_wsgi-3.0c4 for python 2.5 on Mac OSX 10.5 and it
works fine. I now want to switch to python 2.6 and rebuild mod_wsgi
with the following commands:
$ make clean
Strictly speaking, should do a:
make distclean
when rerunning
2009/8/30 weiwei online.service@gmail.com:
invalid Python installation: unable to open /usr/lib64/python2.6/
config/Makefile (No such file or directory)
any help?
Missing python-dev package for Linux system. Ensure you have it installed.
Graham
applied. Thus, is same as having triggered request
from outside of server.
If this doesn't answer question, not sure what you are asking and you
will need to explain further.
Graham
Thanks!
Evgeny.
On Aug 10, 4:18 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/11 Haes haes
2009/8/30 gert gert.cuyk...@gmail.com:
On Aug 30, 11:43 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/30 gert gert.cuyk...@gmail.com:
On Aug 30, 5:48 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/30 gert gert.cuyk...@gmail.com:
import os
def
development against new versions of programs.
Graham
2009/8/31 Graham Dumpleton graham.dumple...@gmail.com:
I fully expected that trying to use MacPorts on Snow Leopard is going
to be a whole world of hurt for a while.
I would suggest first off that you see if you can get mod_wsgi working
are configured correctly in Apache to allow it.
What have you tried so far?
Graham
Thanks.
On Aug 29, 8:52 pm, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/8/30 Evgeny evgeny.fad...@gmail.com:
I'm also curious about this - will Apache server side includes (SSI)
work with the scheme
2009/8/31 Rascal jonras...@gmail.com:
Hi,
Motivation for this question stems from a recent post on the mod-
python list stating that mod_python is no longer developed. Is that
true? The feature I used was hooking a python script in apache's fixup
phase where my authen/authz and global
2009/8/31 Graham Dumpleton graham.dumple...@gmail.com:
Okay, I have looked at the compiled output and you are perhaps using
standard Apache tools.
Can you use spotlight to find location of 'httpd.h' on Snow Leopard.
Doesn't look to be in place it is supposed to be.
I wander if Snow Leopard
should start considering supplying dmg file containing mod_wsgi.so
for MacOS X Snow Leopard.
Graham
2009/8/31 Graham Dumpleton graham.dumple...@gmail.com:
2009/8/31 Graham Dumpleton graham.dumple...@gmail.com:
Okay, I have looked at the compiled output and you are perhaps using
standard Apache
2009/8/31 Graham Dumpleton graham.dumple...@gmail.com:
Did you install XCode from the optional installs directory of the Snow
Leopard disk?
None of the required header files are installed with the base
operating system release.
So, if not installed, likely you are using MacPorts gcc, but can't
: no debug symbols in executable (-arch i386)
warning: no debug symbols in executable (-arch ppc7400)
I don't know what to make of those, but doesn't seem to cause any problems.
Graham
Thanks! :)
- Andrey
On Sun, Aug 30, 2009 at 10:25 PM, Graham Dumpleton
graham.dumple...@gmail.com wrote:
BTW
2009/9/1 online.service@gmail.com online.service@gmail.com:
thanks, but i have in django.wsgi
-
import os, sys
sys.path.append('/usr/local/django')
sys.path.append('/usr/local/django/myproject')
os.environ['DJANGO_SETTINGS_MODULE'] =
2009/9/1 online.service@gmail.com online.service@gmail.com:
thanks,
my project is located in /usr/local/django/myproject
and l had everything under /usr/local/django/ as readable end
executable for all users, seems still no luck...
But where exactly is:
myapp
Is it located at:
makesetup
40 -rw-r--r-- 1 root wheel 20076 Aug 6 23:51 python.o
Thanks for your help!
Sachin
On Sep 1, 12:16 am, Graham Dumpleton graham.dumple...@gmail.com
wrote:
2009/9/1 sachin sachin.re...@gmail.com:
Here is the output from make:
/usr/sbin/apxs -c -I/usr/local/python-2.6.2
601 - 700 of 4219 matches
Mail list logo