-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi. I just got around to playing with mod_perl after a considerable
amount of time that I'd relied on mod_Cgi. First and foremost, I
really, really, really love it and would have switched much sooner
had someone simply explained to me the one difference that I was
unaware of until I decided to bother looking (and I think many people
suffer from this): that while mod_cgi calls a wrapper to run a
script, mod_perl does it internally.
Once I understood that, I read up and installed it as soon as I felt
I had some idea what I was doing. The move was uneventful (I just
built it as a DSO and changed my ScriptAlias to a normal Alias, and
added PerlHandler, SetHandler, etc). The only problem was the
PerlSendHeaders option. The first fifty or so times that I read the
manpages, I understood that PerlSendHeader On means that mod_perl
will SEND HEADERS, and that off meant supply your own... Somehow I
figured out (eventually) that this was not so, switched all of my
deliberately placed PerlSendHeader Off statesments to a single On
statement, and all of my scripts once again work.
I think the main problem was the line :
By default, mod_perl does not send any headers by
itself, however, you may wish to change this:
PerlSendHeader On
That seems to say that if you want mod_perl to handle headers for
you, cange it to On. Perhaps I'm still newbie enough that I still am
missing the idea, but if I am correct, it would probably be a good
idea to change (or even remove) that line from the man-page.
Issac Goldstand
- ------------
Internet is a wonderful mechanism for making a fool of
yourself in front of a very large audience.
--Anonymous
Moving the mouse won't get you into trouble... Clicking it might.
--Anonymous
PGP Key 0xE0FA561B - Fingerprint:
7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com>
iQA/AwUBOq4VX4yEdnXg+lYbEQI8ngCgxZbrEAF1JpMuQ/SWV3jdMJp7EY8An38D
kJn5xEGiYaV0ZBW27oBB3Vpk
=rmm0
-----END PGP SIGNATURE-----