Just sending this while I remember ...
A while back there was long discussion on constructing a URL for
location
redirect. While digging through Apache stuff, I stumbled across the
function:
ap_construct_url()
This takes an absolute path and constructs a full URL based on
information
It looks good, which proves the power of RTFM. We should test it, of
course, to make sure subtleties like virtual host are taken into
account (the doc says so but the code knows better).
BTW, did we ever considered using SWIG to map the Apache API ? I know
it can be quite tricky to use, but it cou
Oden Eriksson wrote:
tisdagen den 14 februari 2006 13.17 skrev Oden Eriksson:
Hello.
[...]
I am no programmer, but can't you just look at how this is handled in the core
mod_ssl and ldap code?
That would be cheating and no fun at all! ;)
Seriously though, we do often look through the so
Nicolas Lehuen wrote:
> BTW, did we ever considered using SWIG to map the Apache API ? I know
> it can be quite tricky to use, but it could be a real time saver.
That's essentially what mod_snake did, and why I liked it so much. Though I
don't remember if it used swig or pyrex.
Nick
On Thu, 16 Feb 2006, Nick wrote:
Nicolas Lehuen wrote:
BTW, did we ever considered using SWIG to map the Apache API ? I know
it can be quite tricky to use, but it could be a real time saver.
That's essentially what mod_snake did, and why I liked it so much. Though I
don't remember if it used
Gregory (Grisha) Trubetskoy wrote:
> SWIG in my opinion is good when you want some kind of an API made
> available to you quickly, but in a static environment where can put some
> thought into functionality, usability, Pythonic-ness of every approach,
> write documentation with good examples and a
Graham Dumpleton wrote:
Graham Dumpleton wrote ..
Graham Dumpleton wrote ..
How does req.server.get_options() differ from req.server.get_config(),
which already exists?
I still see what is in get_config() as special, ie., the values for
actual directives. Just don't think it is good to mix
[
http://issues.apache.org/jira/browse/MODPYTHON-94?page=comments#action_12366727
]
Graham Dumpleton commented on MODPYTHON-94:
---
The attached patch uses Python native bool type.
+is_https = optfn_is_https && optfn_is_https(self->request_rec->
Make name of mutex directory configurable.
--
Key: MODPYTHON-131
URL: http://issues.apache.org/jira/browse/MODPYTHON-131
Project: mod_python
Type: Improvement
Components: core
Versions: 3.2
Reporter: Graham Dump
Expose ap_construct_url() in request object.
Key: MODPYTHON-132
URL: http://issues.apache.org/jira/browse/MODPYTHON-132
Project: mod_python
Type: Improvement
Components: core
Versions: 3.3
Reporter: Graham
Graham Dumpleton (JIRA) writes:
> If mod_python is to still support Python 2.2, which it looks like we
> are still because of Nokia work, then can't use the Python bool type
> yet as that was only added to Python 2.3.
But can't a decision be made? I think deciding by not deciding is
less than an
Daniel J. Popowich wrote ..
>
> Graham Dumpleton (JIRA) writes:
> > If mod_python is to still support Python 2.2, which it looks like we
> > are still because of Nokia work, then can't use the Python bool type
> > yet as that was only added to Python 2.3.
>
> But can't a decision be made? I thin
Setting PythonDebug to Off, doesn't override On setting in parent scope.
Key: MODPYTHON-134
URL: http://issues.apache.org/jira/browse/MODPYTHON-134
Project: mod_python
Type: Bug
Components: co
[SECURITY] A Security Issue with FileSession in 3.2.7
-
Key: MODPYTHON-135
URL: http://issues.apache.org/jira/browse/MODPYTHON-135
Project: mod_python
Type: Bug
Components: session
Versions: 3.2
Repo
On 17/02/2006, at 10:01 AM, Jim Gallacher wrote:
The ap_check_cmd_context function may also be of interest.
http://docx.webperf.org/group__ap__check__cmd__context.html
For example, lets say we wanted to disallow the use of PythonDebug
in
const char *err;
if ((err = ap_check_cmd_con
15 matches
Mail list logo