Previous Topic: Apache 1.3.28 Web Server Installation Fails on HP-UX 11i (28327) (28302)

Next Topic: General Considerations

Apache 2.0 Web Server and ServletExec 5.0 on HP-UX 11i (29517, 28446)

To use Apache 2.0 Web Server and ServletExec 5.0 on HP-UX 11i

  1. Install Apache v1.3.x.
  2. Run ServletExec 5.0 AS installer against Apache 1.3.x.

    The ServletExec AS Java instance is created.

  3. Run ServletExec and Apache 1.3.x, and make sure you can run /servlet/TestServlet.
  4. Shutdown Apache 1.3.x, but leave ServletExec running.
  5. Install HP-Apache v2.x from the .depot file.

    Note: By default, this file is installed in /opt/hpws/apache directory.

  6. Modify the apxs script by changing:
    $opt .= " -module -avoid-version $apr_ldflags
    

    to

    $opt .= " -rpath $CFG_LIBEXECDIR -module -avoid-version $apr_ldflags
    

    The extra parameter indicates that the created library will be installed in $CFG_LIBEXECDIR

    Note: This script is located in the /opt/hpws/apache/bin directory.

  7. Using anonymous FTP, access ftp://ftp.newatlanta.com/public/servletexec/4_2/patches/ and download the latest zip file.
  8. Extract the following file from the zip:
    mod_servletexec2.c
    
  9. Execute the following command:
    apxs -n servletexec -i -a -c -D XP_UNIX -D APR_WANT_BYTEFUNC mod_servletexec2.c
    
  10. Edit the httpd.conf file of your HP-Apache 2.x to contain the necessary ServletExec-specific directives.

    Note: The directives are also present in the httpd.conf of your Apache 1.3.x if you let the ServletExec installer update the httpd.conf during installation. For more information on editing the httpd.conf file, refer to the New Atlanta Communication ServletExec documentation.

  11. Start HP-Apache 2.x.
  12. Test the Web Server with ServletExec by accessing the following:
    /servlet/TestServlet
    


Copyright © 2010 CA. All rights reserved. Email CA about this topic