Installing and configuring an Apache Web server plug-in  Configuring an Apache Web server plug-in

Chapter 4: Installing and Configuring a Web Server Redirector Plug-In

Installing the Apache Web server plug-in

The EAServer plug-in is not compatible with the default configuration of the Apache Web server on HP Itanium. Follow the procedures below to make the Web server compatible with the EAServer plug-in.

StepsRunning the Apache Web server and configuring the Web server plug-in

  1. To install the Web server, run these commands:

    gunzip apache_1.3.20.tar.gz (or the apache 2.0 equivalent)
    
    tar xvf apache_1.3.20.tar
    

    If the Web server is preinstalled, run:

    make distclean
    
  2. Comment out line 127; in <source dir>/src/os/unix/os.c, change:

    shl_unload((shl_t)handle);
    

    to:

    /* shl_unload((shl_t)handle); */
    
  3. In the file <apache source dir>/src/main/http_main.c, in this function:

    child_main(int child_num_args)
    

    after the call to ap_accept, change this line:

    if (csd >= 0 || errno != EINTR)
    

    to:

    if (csd >=0 || ((errno != EINTR) && (errno !=ENOBUFS)))
    
  4. Run the configure command:

    CC="/usr/bin/cc" LD_SHLIB="/opt/aCC/bin/aCC" ./configure 
    --prefix=<install dir> --enable-module=so
    
  5. Change line 14 in <source dir>/src/Makefile, from:

    SHMOD_SUFFIX_NAME=so
    

    to:

    SHMOD_SUFFIX_NAME=sl
    
  6. Run:

    make all install
    
  7. Copy conn_config to <install_dir>/conf.

  8. Define the user name and group name in the httpd.conf file:

    User user_name
    Group group_name
    

    Copy the file to <install_dir>/conf.

  9. Copy libexec/* to <install dir>/libexec.

  10. Add these lines to the <install dir>/bin/apachectl script:

  11. To start the Apache Web server, run:

    apachectl start
    




Copyright © 2004. Sybase Inc. All rights reserved. Configuring an Apache Web server plug-in

View this book as PDF