Nick wrote:
More info:
python 2.4.2 on Linux:
import tempfile
t = tempfile.TemporaryFile()
t
open file 'fdopen', mode 'w+b' at 0xb7df07b8
type(t)
type 'file'
dir(t)
['__class__', '__delattr__', '__doc__', '__getattribute__', '__hash__',
'__init__', '__iter__', '__new__',
Jim Gallacher wrote:
So this is an inconsistency within Python. Should mod_python attempt
to correct it, or just claim a Python bug?
I think we should correct it. I'm sure users don't care that we
implement this with TemporaryFile. That being said, I wonder how many
applications on Windows
Jim Gallacher wrote:
Nick wrote:
More info:
python 2.4.2 on Linux:
import tempfile
t = tempfile.TemporaryFile()
t
open file 'fdopen', mode 'w+b' at 0xb7df07b8
type(t)
type 'file'
dir(t)
['__class__', '__delattr__', '__doc__', '__getattribute__',
'__hash__', '__init__', '__iter__',
Nick wrote:
Jim Gallacher wrote:
So this is an inconsistency within Python. Should mod_python attempt
to correct it, or just claim a Python bug?
I think we should correct it. I'm sure users don't care that we
implement this with TemporaryFile. That being said, I wonder how many
Jim Gallacher wrote:
You may have misunderstood. I was not suggesting that
tempfile.TemporaryFile was introduced in 3.1.4, only that it existed
there. Looking at the svn repository I see it's used in 3.0.0-beta and
2.7.9, so this bug has been lurking for a while. ;)
Yes, although the fact
Indrek Järve wrote:
This behaviour has been with Python for quite a while, so claiming it's
simply a Python bug will be the same as declaring we don't support Windows.
Our company's software that runs on Windows and uses mod_python simply
patches util.py with the following change:
227c227
Jorey Bump wrote:
Jim Gallacher wrote:
Nick wrote:
More info:
python 2.4.2 on Linux:
import tempfile
t = tempfile.TemporaryFile()
t
open file 'fdopen', mode 'w+b' at 0xb7df07b8
type(t)
type 'file'
dir(t)
['__class__', '__delattr__', '__doc__', '__getattribute__',
'__hash__',
Just for kicks, I tried that today with Apache 2.1.8-beta. The
instructions are a bit stale in the INSTALL script. Here are the
questions to the points mentioned under static install:
1. What is the CPPFLAGS -I supposed to be? Top level libapreq2 source
directory? Or some other directory under it
On Mon, Oct 24, 2005 at 03:33:17AM -, Brian Pane wrote:
Author: brianp
Date: Sun Oct 23 20:33:14 2005
New Revision: 327945
URL: http://svn.apache.org/viewcvs?rev=327945view=rev
Log:
Async write completion for Event MPM
(backported from async-dev branch to 2.3 trunk)
httpd-test runs
On Tuesday 25 October 2005 00:29, you wrote:
This would be OK except that there is a bigger problem that I looked
into trying to fix at one point but never completed it. The problem is
the duplication of authorization types. Currently we have both
mod_authz_groupfile and mod_authz_dbm
AuthOrder user group dbm-group which specifies an order of authz checks,
and makes the last one 'authoritative' in terms of the old logic.
Of course that still leaves file-group looking lonely. Maybe what that
wants is a provider from authz_[file|dbm|dbd|ldap|etc] ?
Or go back to this
The patch in PR 10722 seems to be very widely referred to (perhaps
widely used as well ;) ). Are there any known issues with that patch?
Is there any technical reason why it couldn't be applied to 2.0?
Hmmm... Looking at /usr/lib/python2.4/httplib.py, sock.readline() gets an
EOF upon reading the first byte. Do you see anything in the error logs
associated with this, like a segfault?
To make it easier to isolate, try editing test.py to comment out all
other tests and just leave this one.
Hi,
I am running solaris 8 with apache 2.0.53 over openssl 0.9.7 as a reverse
proxy which terminates and reestablishes SSL to the backend. I run the worker
mpm with 100 threads per process. The server has minimal load and uses a
crypto card. The build is pretty minimal and runs in a gateway
Dirk-Willem van Gulik said:
Or go back to this naming concept floating at one point:
require group ldap:foo
which solves this class of problems (but kills the failover part; i.e.
getting a group check done in ldap if possible; but fall trough to
htpasswd if all is down).
This should
Hi,
I want to tie together the inbound and outbound connections for a forward or
reverse proxy session. I figured I would add the source ports to the log
which would enable me to track the connections through firewall logs etc.
based on addressing/port combinations. I was looking at writing a
Hello,
I've been working on this patch to make apr and httpd work with SCTP streams.
Stream Control Transmission Protocol (SCTP - RFC2960) is a transport layer
protocol capable of providing reliable (in-order, no loss, no duplicates,
no error) message oriented service to application.
Other
If we can determine the referer, we log it as well on all calls to log
error. Can we make this configurable? It's rather annoying in a lot of
cases.
--
Brian Akins
Lead Systems Engineer
CNN Internet Technologies
This may be a Python Windows thing, but it shows up in mod_python:
When using util.FieldStorage on multipart/form-data encoded POST data
containing a file, in Linux a field.file will yield a file object (actually
a subclass of file), but in Windows you have to get the file object through
More info:
python 2.4.2 on Linux:
import tempfile
t = tempfile.TemporaryFile()
t
open file 'fdopen', mode 'w+b' at 0xb7df07b8
type(t)
type 'file'
dir(t)
['__class__', '__delattr__', '__doc__', '__getattribute__', '__hash__',
'__init__', '__iter__', '__new__', '__reduce__', '__reduce_ex__',
Dirk-Willem van Gulik wrote:
AuthOrder user group dbm-group which specifies an order of authz checks,
and makes the last one 'authoritative' in terms of the old logic.
Of course that still leaves file-group looking lonely. Maybe what that
wants is a provider from authz_[file|dbm|dbd|ldap|etc]
This behaviour has been with Python for quite a while, so claiming it's
simply a Python bug will be the same as declaring we don't support Windows.
Our company's software that runs on Windows and uses mod_python simply
patches util.py with the following change:
227c227
if
Explain this a little further because I am a little confused. What
do you intend to happen when a directive like:
require group ldap:foo dbm:bar bash
is issued? The problem here is the confusion as to which module is
handling 'group'. In order for this to work, every authorization type
The attached patch adds the VIRTUAL_DOCUMENT_ROOT so the
VirtualDocumentRoot value is available to test for dynamic virtual
hosts. The patch is against 2.0.55.
http://am-productions.biz/docs/patch-modules_mappers_mod_vhost_alias.c
--
Anish Mistry
[EMAIL PROTECTED]
AM Productions
Jon Snow wrote:
Hi,
I am running solaris 8 with apache 2.0.53 over openssl 0.9.7 as a reverse
proxy which terminates and reestablishes SSL to the backend. I run the worker
mpm with 100 threads per process. The server has minimal load and uses a
crypto card. The build is pretty minimal and
Hi everyone,
Firstly, this is a topic which may have been endlessly covered before, in
which case I apologise and will go down in flames...
But having referred to the 2.0 docs (well, more like the FAQ) at
http://httpd.apache.org/docs/2.0/ssl/ssl_faq.html#vhosts2 I had a thought
about the
On 10/25/2005 04:14 PM, Preethi Natarajan wrote:
Hello,
I've been working on this patch to make apr and httpd work with SCTP
streams.
Thanks for bringing this to the dev list.
Thanks to Joe for making a full stop comment in buzilla to end the discussion
there.
For all that are interested
Kenevel wrote:
My question is why the server couldn't do some sort of reverse-lookup on its
register of SSL certificates that are in use. Surely the server knows which
certificate it is using to service the request (or else it wouldn't be able
to decrypt its contents) and hence work out which
On Tue, 25 Oct 2005, Nick wrote:
So this is an inconsistency within Python. Should mod_python attempt to
correct it, or just claim a Python bug?
I think both. In fact, three things (1) fix it to provide a consistent
interface (2) still support the broken behaviour (3) claim it is a bug
The one-virtual-host-per-ip limitation is imposed by SSL, it has nothing
to do with the webserver.
nitpick
one-virtual-host-per-ip-and-port
/nitpick
There is an exception - if you use a wildcard certificate, you can run
multiple virtual hosts on condition all the virtual hosts match the
Mike,
On Oct 25, 2005, at 10:43 AM, Kenevel wrote:
My question is why the server couldn't do some sort of reverse-
lookup on its
register of SSL certificates that are in use. Surely the server
knows which
certificate it is using to service the request (or else it wouldn't
be able
No,
Thanks Graham, Joost and Sander, I hadn't expected for Apache to need to
know which virtual host to use so early in the request process.
Cheers
Mike
From: Sander Temme [EMAIL PROTECTED]
Reply-To: dev@httpd.apache.org
To: dev@httpd.apache.org
Subject: Re: NameVirtualHosts SSL
Date: Tue, 25
Hi,
In the light of the issue reported by noodl at
http://eul113.eu.verio.net/~noodl/apache_issues.txt I decided to
implement multiple AuthUserFile support.
The behavior is the same as for a single AuthUserFile : the first line
matching the username is used, regardless of what's coming next.
--On October 26, 2005 1:49:15 AM +0200 Maxime Petazzoni
[EMAIL PROTECTED] wrote:
In the light of the issue reported by noodl at
http://eul113.eu.verio.net/~noodl/apache_issues.txt I decided to
implement multiple AuthUserFile support.
I don't get it.
mod_authn_alias is the solution here.
* Justin Erenkrantz [EMAIL PROTECTED] [2005-10-25 17:05:57]:
--On October 26, 2005 1:49:15 AM +0200 Maxime Petazzoni
[EMAIL PROTECTED] wrote:
In the light of the issue reported by noodl at
http://eul113.eu.verio.net/~noodl/apache_issues.txt I decided to
implement multiple AuthUserFile
On Oct 25, 2005, at 2:33 AM, Joe Orton wrote:
httpd-test runs against the trunk are failing all over the place
today,
I guess caused by one of these changes...
prefork is failing like:
Failed TestStat Wstat Total Fail Failed List of
Failed
36 matches
Mail list logo