quetz-mod_python-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Gallacher (JIRA)" <j...@apache.org>
Subject [jira] Commented: (MODPYTHON-104) Allow Python code callouts with mod_include (SSI).
Date Fri, 17 Mar 2006 13:43:42 GMT
    [ http://issues.apache.org/jira/browse/MODPYTHON-104?page=comments#action_12370824 ] 

Jim Gallacher commented on MODPYTHON-104:

I don't have time to review the code changes right now, but code committed up to r386511 is
causing a problem on apache 2.0.55 + python 2.3.

Compiler warning:
mod_python.c:1724: warning: implicit declaration of function 'SSI_CREATE_ERROR_BUCKET'

Apache fails to start, with the following error message:
Cannot load /usr/lib/apache2/modules/mod_python.so into server: /usr/lib/apache2/modules/mod_python.so:
undefined symbol: SSI_CREATE_ERROR_BUCKET

There is no problem for apache 2.2.0 + python 2.4.2, where it compiles OK and all unit tests

> Allow Python code callouts with mod_include (SSI).
> --------------------------------------------------
>          Key: MODPYTHON-104
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-104
>      Project: mod_python
>         Type: New Feature
>   Components: core
>     Reporter: Graham Dumpleton
>     Assignee: Graham Dumpleton
>      Fix For: 3.3
>  Attachments: grahamd_20060126_1_mod_include.diff, grahamd_20060226_MP104_1.diff
> The mod_include module supporting server side includes (SSI), provides a means of registering
new element tags which trigger callouts to other code in separate Apache modules. This is
used for example in mod_perl to allow Perl language code to be used with server side includes:
>  <!--#perl sub="MySSI::remote_host" -->
>   <!--#perl arg="Hello" arg="SSI" arg="World"
>          sub="sub {
>                   my($r, @args) = @_;
>                   print qq(@args);
>               }"
>   -->
> An equivalent feature for Python was previously asked about on the mailing list back
in 2004:
>   http://www.modpython.org/pipermail/mod_python/2004-January/014832.html
> Since it seems entirely reasonable that such integration of mod_python and mod_include
would be possible, thought it would be good to log it as a possible new feature.
> Because of SSI's support for basic conditionals, includes and other callout mechanisms,
would be a good quick and dirty way of doing templating without having to resort to PSP, or
other high level templating systems.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message