simple modperl 1.0 code example for a non programmer.

--0016e647195acdf62d047497c7e6
Content-Type: text/plain; charset=ISO-8859-1

Hello,

Id like to say that Ive been browsing http://perl.apache.org/ and its
snippets section for help however I quickly realised that many of the
examples where written for modperl 2.0 which is why Id like to ask if
anybody could help me with a simple code snippet .. iam sure for the gurus
this wont take long. Id like to dive in learning perl myself but that will
happen later.

All I need is a .pm that is hooked up via the PerlPostReadRequestHandler in
the httpd.conf (apache 1.3) so that it sets co0kie if the GET var ($var) is
present.

This off course will be evaluated for all the requests to my webserver ,
thats the idea. Also, mod_perl is compiled with EVERYTHING=1 .

Thanks to whom had the time to help.

--Matt

--0016e647195acdf62d047497c7e6
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hello,<br><br>Id like to say that Ive been browsing <a href=3D"http://perl.=
apache.org/">http://perl.apache.org/</a> and its snippets section for help =
however I quickly realised that many of the examples where written for modp=
erl 2.0 which is why Id like to ask if anybody could help me with a simple =
code snippet .. iam sure for the gurus this wont take long. Id like to dive=
in learning perl myself but that will happen later.<br>
<br>All I need is a .pm that is hooked up via the=A0 PerlPostReadRequestHan=
dler in the httpd.conf (apache 1.3) so that it sets co0kie=A0 if the GET va=
r ($var) is present. <br><br>This off course will be evaluated for all the =
requests to my webserver , thats the idea.=A0 Also, mod_perl is compiled wi=
th EVERYTHING=3D1 .<br>
<br>Thanks to whom had the time to help.<br><br>--Matt<br><br><br><br><br><=
br><br>

--0016e647195acdf62d047497c7e6--
Matthew Young [ Mo, 28 September 2009 01:45 ] [ ID #2017345 ]
Webserver » gmane.comp.apache.mod-perl » simple modperl 1.0 code example for a non programmer.

Vorheriges Thema: Mason or Registry?
Nächstes Thema: problem with CSS in a dynamic document