"An essential part of mod_perl (and something for which I believe there is no equivalent in *any* language), is the ability to insert itself deeply into Apache httpd, and controlling what happens inside httpd at virtually any stage of an HTTP request processing."
Like this? https://httpd.apache.org/docs/trunk/mod/mod_lua.html On Wed, Dec 22, 2021 at 8:45 AM André Warnier (tomcat/perl) <a...@ice-sa.com> wrote: > On 22.12.2021 13:19, Wes Peng wrote: > > Raku has its own WSGI httpserver? > > > > Yes, as there are several similar things for Apache/perl (such as > Plack/PSGI). > > But these frameworks only do *partially* what mod_perl allows one to do. > > An essential part of mod_perl (and something for which I believe there is > no equivalent in > *any* language), is the ability to insert itself deeply into Apache httpd, > and controlling > what happens inside httpd at virtually any stage of an HTTP request > processing. > > This page : https://perl.apache.org/docs/2.0/user/handlers/http.html > contains a diagram of all the "phases" which a HTTP request goes through > in Apache httpd. > WSGI/PSGI Frameworks give you access to what happens in the bottom > "response" block. > mod_perl gives you access to what happens in *all* the blocks. > > For many developers, being able to act at the Response stage is enough, > and in such a > case, they will be happy with what a WSGI/PSGI/proxy solution provides. > > However, if you want to do deeper things within Apache httpd (such as for > instance create > your own authentication/authorization mechanism, or creating your own > input/output > filters), and you want to do that using perl as a language, then mod_perl > is your thing. > > > > > > >> Has anyone considered having a mod_raku version of mod_perl? > >> > >> Merry Christmas to all. > >> > >> -Tom > >> > >> > > > > -- John Dunlap *CTO | Lariat * *Direct:* *j...@lariat.co <j...@lariat.co>* *Customer Service:* 877.268.6667 supp...@lariat.co