THE VIRTUAL SERVER HANDBOOK
Maintaining Virtual Web Server
Configuration Files
The behavior of the Virtual Web Service is controlled, customized, and
defined by several key configuration files. These files include your main
server configuration file (
httpd.conf
), your server resource
configuration file (
srm.conf
), your server access control configuration
file (
access.conf
), and your MIME type definitions (
mime.types
).
Each configuration file is located in your 
www/conf
 directory and includes
default values that are acceptable for most circumstances and needs.
However, if you would like to customize your Virtual Web Service
behavior, a description of many (though not all) of the configuration file
variables is included below. Complete documentation of the configuration
variables can be found at the Apache Web Site:
http://www.apache.org/docs/mod/directives.html
Learning Apache Directives
There are a few basics to using Apache directives. First, there are directives
that are single line entries, for example:
ServerName yourdomain.com
Then there are block directives that have a beginning line and a ending line.
Block directives are used to group together a set of directives. For example:
ServerName www.abc.com
ServerAdmin 
webmaster@abc.com
DocumentRoot /usr/local/etc/httpd/htdocs/abc
Block directives are enclosed in angle brackets < > and always have a
beginning and ending directive. The ending directive has a forward slash.
The directives are not configuration file specific as are other web servers
(NCSA).
Note:  Using NCSA, if a directive was meant to be in 
srm.conf
 and you
accidentally put it in 
httpd.conf
 it causes serious errors. With Apache
the directives are combined in the 
httpd.conf
 file without error.
LoadModule
The 
LoadModule
 directive instructs the Apache web server software to
load shared object libraries at startup. This should be the first directive in
the configuration file so the module is available before the web server uses
it. The following is an example:
LoadModule foo_module modules/mod_foo.so
COPYRIGHT 
 1999  DIGITAL TOOLS  LLC.
91




  

Home

About Services Network Support FAQ Order Contact
 

Web Cam WebHosting

Our partners:Jsp Web Hosting Unlimited Web Hosting Cheapest Web Hosting  Java Web Hosting Web Templates Best Web Templates PHP Mysql Web Hosting Interland Web Hosting Cheap Web Hosting PHP Web Hosting Tomcat Web Hosting Quality Web Hosting Best Web Hosting  Mac Web Hosting 

Lunarwebhost.net  Business web hosting division of Vision Web Hosting Inc. All rights reserved