Installation guide
Installing and configuring an Apache Web server plug-in
50
EAServer
3 Copy libraries from EAServer to your Web server.
4 Make an entry for the Web host in the /etc/hosts file.
For information about the Apache Web server, see
Apache Core Features at
http://httpd.apache.org/docs/mod/core.html
.
Edit the
httpd.conf
configuration file
The httpd.conf file:
• Defines and loads the redirector module – the
LoadModule directive
informs the Apache Web server of the name and location of the redirector
module to load when the Web server starts.
• Identifies the redirector configuration file – the redirector configuration
file contains the mappings of incoming requests to the EAServer HTTP
listener to which they are redirected.
• Defines the context paths – the
LocationMatch directive defines the context
paths that inform the Web server which requests are directed to the
redirector. If no context path is provided, the request is serviced by the
Web server.
Sample httpd.conf file
The following lines illustrate a sample httpd.conf file.
LoadModule easredirector_module libexec/libjeas_mod.so
EASConfigFile WEB_SERVER_HOME/conf/conn_config
ServerName www.myhost.com
<LocationMatch /examples/*|/estore/* >
SetHandler eas-handler
</LocationMatch>
At the end of the WEB_SERVER_HOME/conf/httpd.conf file, add the
directives defined in the sample above, where:
•
LoadModule defines and loads the redirector module.
•
EASConfigFile identifies the file that contains the redirector configuration
parameters.
•
ServerName identifies the host machine on which the Web server runs.
Specify the host using either the IP address or the fully qualified domain
name; for example, www.foo.com. If you do not set this directive, the
redirector continues to run, but you might see this warning in the
connector log file:
[Tue Jun 18 15:19:12 2002] [alert] httpd: Could not