perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Mod_Perl2 getting started
Date Wed, 22 Aug 2012 11:33:45 GMT

Deutsche Telekom AG
Seamless ICT Security Infrastructure & Management
im Auftrag T-Systems International GmbH
Dipl. Inf Alexander Elgert
Langwadener Strasse 17
64625 Bensheim
+49 176 22 717 661 (Mobil)
+49 671 83419-12 (Tel)
+49 671 83419-30 (Fax)

Von: Keywan Ghadami []
Gesendet: Mittwoch, 22. August 2012 10:11
Betreff: Re: Mod_Perl2 getting started

Hi Joe,
have also a look at Frameworks and Interfaces like PSGI or Catalyst.
They provide a more generic way to do these things:

"parsed request, handles args as querystrings and Post data, uploads a file or two, and returns
an html page to the requestor"

that way you can use mod_perl in the background wich give you the flexibility to switch to
other Interfaces (e.g. fcgi) and servers on need.

best regards


Am 21.08.2012 23:13, schrieb Randolf Richardson:

I´m finding the online documentation regarding mod_perl2 confusing
with regards to all the various modules dealing with request structures etc:
APR::Request, Apache2::Request, Apache2::RequestRec, Apache2::Upload,
Does anyone know of a tutorial or example code that sorts these out?
Ideally a simple one module working code response handler that illustrates access to the
parsed request, handles args as querystrings and Post data, uploads a file or
two, and returns an html page to the requestor. Anyone have something like that?
Thanks very much in advance,
Joe N

        Hi Joe.  I wrote one guide that has helped a few people get started:


        It's still a work-in-progress, and although it doesn't show you
everything that you're asking for, it will get you started.

        Accessing query strings is covered in the Apache::Request module
documentation -- "param" is the keyword to search for.  I recommend
that you develop a clear understanding of how this works before
tackling file uploads, because it will make the learning process with
regard to handling file uploads a lot easier.

Randolf Richardson -<>
Inter-Corporate Computer & Network Services, Inc.
Beautiful British Columbia, Canada

Keywan Ghadami
Fritz-Arnold-Str. 23
78467 Konstanz
Tel.: +49 (0)75 31 / 81 39 7 93
Fax: +49 (0)75 31 / 81 39 7 89
QuickLinks: Produkte<> | Lösungen<>
| Services & Support<> | News<>
| Kunden & Referenzen<> | Kontakt<>

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie
nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren
Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Das Kopieren sowie die Weitergabe
dieser E-Mail ist nicht gestattet.

This E-Mail contains confidential and/or legally protected information. If you are not the
correct addressee or have received this E-Mail erroneously, please inform the sender immediately
and delete this E-Mail. The copying as well as the transmitting of this E-Mail is not permitted

View raw message