465 pts.
 headers_module location for iSeries Apache http config file
Can someone tell me the location for the headers_module for iSeries??? I want to add it to our http configuration file. Thew IIS version looks like this:
LoadModule headers_module modules/mod_headers.so
Thanks, Dave

Software/Hardware used:
apache, iSeries, AS400,
ASKED: March 8, 2010  4:57 PM
UPDATED: March 13, 2010  8:23 AM

Answer Wiki:
For Apache the httpd.conf file, the follwoing line should be found #LoadModule headers_module modules/mod_headers.so All you have to do is remove "#" and restart server.
Last Wiki Answer Submitted:  March 13, 2010  8:23 am  by  Sourour   435 pts.
All Answer Wiki Contributors:  Sourour   435 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

I don’t have clear info on this. First possibility:

LoadModule headers_module modules/mod_headers.c

Please post back any errors if they appear. I might have a chance to test tonight… maybe.

Tom

 110,135 pts.

 

I apologize if I don’t get back right away. Our new email server is blocking the messages from this site at the moment.

Restarting the server failed after I put the changes in. I’ll do my best to post the error correctly here:

HTP8008    Escape                  40   03/09/10  08:42:03.382800  QZSRAPR QHTTPSVR    *STMT    QZHBMAIN    QHTTPSVR    *STMT    
From module . . . . . . . . :   QZSRSNDM                                      
From procedure  . . . . . . :   sendEscapeWithMessageFile                     
Statement . . . . . . . . . :   4                                             
To module . . . . . . . . . :   ZHBMAIN                                       
To procedure  . . . . . . . :   BigSwitch__FiPPc                              
Statement . . . . . . . . . :   234                                           
Message . . . . :   HTTP Server Instance AISERVER failed during start-up.     
Cause . . . . . :   HTTP Server instance AISERVER failed because of a         
  configuration error on line 2  in configuration file /ainet/conf/httpd.conf. 
  Note:  If the specified directive is either a container directive (e.g.      
  <Directory>), or a directive within a container, the line number identified  
  above may not be correct.  In that case, you will need to verify that all    
  directives in the container, and the container itself do not have            
  configuration errors. Recovery  . . . :   See previous job log messages.     

The previous job log messages are just the command execution. there’s no other errors.

I put the LoadModule line on the second line. That’s where it’s failing. I just don’t think it exists at modules/

Our other LoadModule function has a directory like this:

LoadModule ibm_ssl_module /QSYS.LIB/QHTTPSVR.LIB/QZSRVSSL.SRVPGM

There’s a ton of different programs/code located in the QHTTPSVR. Nothing really jumped out at me though.

 465 pts.

 

Ah! In that case, try:

LoadModule headers_module /QSYS.LIB/QHTTPSVR.LIB/QZSRCORE.SRVPGM

That may give a better result, or at least a more precise error message.

The QZSRCORE service program appears to contain the module you need.

Tom

 110,135 pts.