Loading ...
Sorry, an error occurred while loading the content.

67218Re: is apache using modperl?

Expand Messages
  • Alexander Charbonnet
    Sep 25, 2005
    • 0 Attachment
      Rename your Perl binary and see if it still works. :-)

      On Sunday 25 September 2005 07:42 pm, luke@... wrote:
      > Hi.
      >
      > I've got the following script, which I picked up off the apache mod_perl
      > pages, running.
      >
      > /~~~~~~~~~~~~~~~~~~~
      > #!/usr/bin/perl
      >
      > # Script: vegetables1.pl
      > use CGI::Pretty ':standard';
      > print header,
      > start_html('Vegetables'),
      > h1('Eat Your Vegetables'),
      > ol(
      > li('peas'),
      > li('peppers'),
      > li('red'),
      > li('green')
      > ),
      > hr,
      > end_html;
      > \___________________
      >
      > How can I be sure that is being run by mod_perl and not by perl?
      >
      > Thanks.
      > Kind regards.
      > Luke.
    • Show all 6 messages in this topic