in reply to Re: Is mod_perl handling requests, or not?
in thread Is mod_perl handling requests, or not?

Ok. http://perl.apache.org/dist/mod_perl-2.0-current/Changes also states this change.

Though, I would have thought that seeing as GATEWAY_INTERFACE is standard, it would be reflective of the handler.
Now I need to check out why open() is giving me greif.
  • Comment on Re^2: Is mod_perl handling requests, or not?

Replies are listed 'Best First'.
Re^3: Is mod_perl handling requests, or not?
by derby (Abbot) on Jun 11, 2006 at 14:57 UTC

    GATEWAY_INTERFACE is defined in the CGI spec and from the spec

    The Common Gateway Interface (CGI) is a simple interface for running external programs

    There's nothing external about any of the mod_xxxs ... so in this case, mod_perl is doing the right thing. Your server still supports cgi ... you're just not using it.

    The environment variables are not about what the server *did* but what it *can do*.

    -derby
      I understand all that.

      I have just been led to believe from mod_perl documentation that GATEWAY_INTERFACE
      reflects the handler of the request. Of course, there are other environment variables that are relative
      to the request/session ie; REMOTE_ADDR etc. But im not going to worry about it too much :)

      Seeing as I have loaded the dynamic shared object,
      and am able to load perl modules from httpd.conf, I figure mod_perl is rolling anyhow.

      Thanks for the replies guys :)