There
are a few basics to using Apache directives. First, there
are directives that are single line entries, for example:
ServerName yourcompany.com
Then there are block
directives that have a beginning line and an ending
line. Block directives are used to group together a
set of directives. For example:
<VirtualHost abc.com>
ServerName www.abc.com
ServerAdmin webmaster@abc.com
DocumentRoot /usr/local/etc/httpd/htdocs/abc
</VirtualHost>
Block directives are
enclosed in angle brackets ("< >")
and always have a beginning and ending directive. The
ending directive has a forward slash ("/").
|