user manual

28 BES Developers Guide
Apache web server implementation
Otherwise, for the location of the httpd.conf file, go to the configuration.xml file
located in:
<install_dir>/var/domains/<domain_name>/configurations/
<configuration_name>/mos/
and search for the Apache Managed Object apache-processsub-element httpd-
conf attribute:
httpd-conf=
For more information about the Apache Managed Object elements and
attributes, go to the BDOC Reference, Managed Object elements and
attributes, apache-process Managed Object type section.
For information about configuring the httpd.conf file for the IIOP connector/
redirector, go to Chapter 5, Web server to web container connectivity.
Apache configuration syntax
When you edit the httpd.conf file, you must adhere to the following
configuration syntax guidelines:
The httpd.conf files contain one directive per line.
To indicate that a directive continues onto the next line, use a back-slash "\
" as the last character on a line.
No other characters or white space must appear between the back-slash "\
" and the end of the line.
Arguments to directives are often case-sensitive, but directives are not
case-sensitive.
Lines which begin with the hash character "#" are considered comments.
Comments cannot be included on a line after a configuration directive.
Blank lines and white space occurring before a directive are ignored, so you
can indent directives for clarity.
Note For additional information on the Apache web server configuration options and
general directive usage, go to the Apache Software Foundation web site
at:Apache2 www.apache.org, or go to the online Help Topics, Java API
Reference, Apache2 APIs.
Using the .htaccess files
The Apache web server allows for decentralized management of configuration
through the .htaccess files placed inside the web tree. These files are specified
in the AccessFileName directive.
Directives placed in .htaccess files apply to the directory where you place the
file, and all sub-directories. The .htaccess files follow the same syntax as the
main configuration files. Since .htaccess files are read on every request,
changes made in these files take immediate effect. To find which directives