Technical data

11 Installing and Configuring the Apache HTTP Server Plug-In
11-8 Administration Guide
<IfModule mod_weblogic.c>
WebLogicHost [hostname]
WebLogicPort 7001
PathTrim /weblogic
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
</Location>
For more information on editing the httpd.conf file, see “Configuring the Apache
HTTP Server Plug-In” on page 11-10.
6. Configure any additional parameters in the Apache
httpd.conf configuration
file as described in the section “Configuring the Apache HTTP Server Plug-In”
on page 11-10. The
httpd.conf file allows you to customize the behavior of the
Apache HTTP Server Plug-In.
7. Verify the syntax of the
APACHE_HOME\conf\httpd.conf file with one of the
following commands:
For Apache 1.x, APACHE_HOME\bin\apachect1 configtest
For Apache 2.x, APACHE_HOME\bin\Apache -t
The output of this command indicates any errors in your httpd.conf file.
8. Restart Weblogic Server.
9. Start (or restart if you have changed the configuration) Apache HTTP Server.
10. Test the Apache plug-in by opening a browser and setting the URL to the Apache
Server + “
/weblogic/”, which should bring up the default WebLogic Server
HTML page, welcome file, or default servlet, as defined for the default Web
Application on WebLogic Server. For example:
http://myApacheserver.com/weblogic/