Page 46 - Open Soource Technologies 304.indd
P. 46

Unit 4: Apache Server Installation in Window



               •  The directive arguments follow the directive name.                              Notes
               •  Directive arguments are separated by spaces.

               •  The  number  and  type  of  arguments  vary  from  directive  to  directive;  some  have  no
                 arguments.

               •  A directive occupies a single line, but you can continue it on a different line by ending
                 the previous line with a backslash character (\).

               •  The pound sign (£) should precede the directive, and must appear on its own line.
            In the Apache server documentation, found online at http://httpd.apache.org/docs-2.0/, you
            can browse the directives in alphabetical order or by the module to which they belong. You’ll
            soon learn about some of the basic directives, but you should supplement your knowledge
            using the online documentation.
            Figure shows an entry from the documentation for the ServerName directive description. You
            can  read  this  description  in  the  online  documentation  at  http://httpd.apache.org/docs-2.0/
            mod/core.html#servername.

                                 Figure 4.1: Directive description example























            Syntax: This entry explains the format of the directive options. Compulsory parameters appear
            in italics, optional parameters appear in italics and brackets.

            Default: If the directive has a default value, it will appear here.
            Context: This entry details the containers or sections in which the directive can appear. Containers
            are explained in the next section. The possible values are server config, virtual host, directory,
            and.htaccess.
            Status: This entry indicates whether the directive is built in Apache (core), belongs to one of
            the bundled modules (base or extension, depending on whether they are compiled by default),
            is part of a Multi Processing Module (MPM), or is bundled with Apache but not ready for use
            in a production server (experimental).
            Module: This entry indicates the module to which the directive belongs.





                                             LOVELY PROFESSIONAL UNIVERSITY                                    41
   41   42   43   44   45   46   47   48   49   50   51