When I run the script from my previous posting I get the following:
If 'GATEWAY_INTERFACE = CGI/1.1' then regular CGI. If 'GATEWAY_INTERFACE - CGI-Perl/1.1' then mod-perl. ========== TESTING ABILITY OF A PERL SCRIPT TO ACCESS ENVIRONMENT VARI +ABLES ======== REMOTE_ADDR = 127.0.0.1 REMOTE_PORT = 45469 HTTP_REFERER = ========== FULL DUMP OF ENVIRONMENT VARIABLES ========== DOCUMENT_ROOT = /var/www GATEWAY_INTERFACE = CGI/1.1 HTTP_ACCEPT = text/xml,application/xml,application/xhtml+xml,text/html +;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 HTTP_ACCEPT_CHARSET = ISO-8859-1,utf-8;q=0.7,*;q=0.7 HTTP_ACCEPT_ENCODING = gzip,deflate HTTP_ACCEPT_LANGUAGE = en-us,en;q=0.5 HTTP_CONNECTION = keep-alive HTTP_HOST = 127.0.0.1 HTTP_KEEP_ALIVE = 300 HTTP_USER_AGENT = Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv: +1.8.1.6) Gecko/20070802 SeaMonkey/1.1.4 MOD_PERL = mod_perl/2.0.2 MOD_PERL_API_VERSION = 2 PATH = /usr/local/bin:/usr/bin:/bin QUERY_STRING = REMOTE_ADDR = 127.0.0.1 REMOTE_PORT = 45469 REQUEST_METHOD = GET REQUEST_URI = /perl/cgi_or_mod-perl.pl SCRIPT_FILENAME = /var/www/perl/cgi_or_mod-perl.pl SCRIPT_NAME = /perl/cgi_or_mod-perl.pl SERVER_ADDR = 127.0.0.1 SERVER_ADMIN = webmaster@localhost SERVER_NAME = 127.0.0.1 SERVER_PORT = 80 SERVER_PROTOCOL = HTTP/1.1 SERVER_SIGNATURE = Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 mod_perl/2.0.2 Perl/v5.8.7 Se +rver at 127.0.0.1 Port 80 SERVER_SOFTWARE = Apache/2.0.55 (Ubuntu) PHP/4.4.2-1build1 mod_perl/2. +0.2 Perl/v5.8.7

Based upon the DuBois text I conclude that mod_perl is installed but not being used when the perl code is executed.

Bruce

In reply to Re^3: mod_perl configuration of Apache2 by Bruce32903
in thread mod_perl configuration of Apache2 by Bruce32903

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.