Module zend_enabler

Module zend_enabler supports directives for the IBM® HTTP Server for i Web server.

Summary

The module zend_enabler enables HTTP server to run AIX® programs that implement the FastCGI protocol.

FastCGI is an interface between Web servers and applications which combines some of the performance characteristics of native Web server modules with the Web server independence of the CGI programming interface. AIX FastCGI applications are run in the PASE for i environment.

Directives

FastCGIServerID

Module: zend_enabler
Syntax: FastCGIServerID user_profile
Default: FastCGIServerID QTMHHTTP
Context: server config, virtual host
Override: AuthConfig
Origin: IBM
Example: FastCGIServerID webmaster

The FastCGIServerID directive specifies the user profile that the fast CGI server will run under(default is QTMHHTTP). This directive tells what user profile to use when starting the worker threads under the child process.

Parameter One: user_profile
  • user_profile must be a valid user profile. This profile must be authorized to all the directories, files, and other server resources accessed by the fast CGI server unless the server is configured to swap to another profile for specific requests or directories. You must have authority to the specified profile.
Note: The following steps must be done first before using the FastCGIServerID directive
  1. Empty IFS temporary directory /tmp
  2. Change the authority of IFS directory /usr/local/zendsvr to *PUBLIC *RX (a few *RWX)
  3. Ensure the authority of library ZENDSVR is *PUBLIC *RX or *RWX (r-x or rwx)
  4. Change the authority of your HTTP server directory(i.e. /www/zendsvr) to *PUBLIC *RX
  5. Add the directive to HTTP server configuration file(httpd.conf) and restart HTTP server

    Example:

    FastCGIServerID TESTUSR

    Use WRKACTJOB command to see the user profile that fast CGI server runs under is changed from default QTMHHTTP to TESTUSR

    ZENDSVR     QTMHHTTP    BCH      .0  PGM-QZHBMAIN     SIGW 
    ZENDSVR     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW 
    ZENDSVR     QTMHHTTP    BCI      .0  PGM-QZSRLOG      SIGW  
    ZENDSVR     QTMHHTTP    BCI      .0  PGM-QZSRHTTP     SIGW 
    ZENDSVR     QTMHHTTP    BCI      .0  PGM-zfcgi        SELW    
    ZENDSVR     TESTUSR     BCI      .0  PGM-php-cgi      THDW
    ZENDSVR     TESTUSR     BCI      .0  PGM-php-cgi      TIMW
    ZENDSVR     TESTUSR     BCI      .0  PGM-php-cgi      TIMW
    ZENDSVR     TESTUSR     BCI      .0  PGM-php-cgi      TIMW
    ZENDSVR     TESTUSR     BCI      .0  PGM-php-cgi      TIMW
    ZENDSVR     TESTUSR     BCI      .0  PGM-php-cgi      TIMW