Commented: (MODPYTHON-104) Allow Python code callouts with
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Commented: (MODPYTHON-104) Allow Python code callouts with




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Commented: (MODPYTHON-104) Allow Python code callouts with  
Nicolas Lehuen (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
03-17-06 10:47 PM

[ http://issues.apache.org/jira/brows...237
0839 ]

Nicolas Lehuen commented on MODPYTHON-104:
------------------------------------------

Same problem with SSI_CREATE_ERROR_BUCKET on Win32, but at compile time.

> 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 use
d w
ith 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/...ary/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 poss
ible new feature.
> Because of SSI's support for basic conditionals, includes and other callout mechan
isms, would be a good quick and dirty way of doing templating without having to reso
rt to PSP, or other high level templating systems.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:27 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register