Technical data

Template for the httpd.conf File
Administration Guide 11-21
Template for the httpd.conf File
This section contains a sample httpd.conf file. You can use this sample as a template
that you can modify to suit your environment and server. Lines beginning with # are
comments. Note that Apache HTTP Server is not case sensitive, and that the
LoadModule and AddModule lines are automatically added by the apxs utility.
####################################################
APACHE-HOME/conf/httpd.conf file
####################################################
LoadModule weblogic_module libexec/mod_wl.so
AddModule mod_weblogic.c
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /weblogic
ErrorPage http://myerrorpage1.mydomain.com
</Location>
<Location /servletimages>
SetHandler weblogic-handler
PathTrim /something
ErrorPage http://myerrorpage1.mydomain.com
</Location>
<IfModule mod_weblogic.c>
MatchExpression *.jsp
WebLogicCluster w1s1.com:7001,w1s2.com:7001,w1s3.com:7001
ErrorPage http://myerrorpage.mydomain.com
</IfModule>
Sample Configuration Files
Instead of defining parameters in the location block of your httpd.conf file, if
you prefer, you can use a
weblogic.conf file that is loaded by the IfModule in the
httpd.conf file. The following examples may be used as templates that you can
modify to suit your environment and server. Lines beginning with # are comments.