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

Open Source Technologies



                   Notes         Conditional Evaluation: Apache provides support for conditional containers. Directives enclosed
                                 in these containers will be processed only if certain conditions are met.
                                 Containers: Directive containers, also called sections, limit the scope for which directives apply.

                                 Error Logs: The error log contains messages sent from Apache for errors encountered during the
                                 course of operation. This log is very useful for troubleshooting Apache issues on the server side.

                                 Installing a Binary: Linux/Unix binary installations are available from vendors and can also
                                 be downloaded from the Apache Software Foundation Web site.

                                 Installing Apache on Windows: Apache 2.0 runs on most Windows platforms and offers increased
                                 performance and stability over the 1.3 versions for Windows. You can build Apache from source,
                                 but because not many Windows users have compilers, this section deals with the binary installer.
                                 ServerRoot: The ServerRoot directive takes a single argument: a directory path pointing to the
                                 directory where the server lives.



                                                Give installation method of Apache in windows.


                                 4.7 Self Assessment Questions

                                    1.  Apache  keeps  all  of  its  configuration  information  in  text  files.  The  main  file  is
                                      called ________________.

                                    2.  Apache uses ________________ configuration files to allow directives to exist outside the
                                      main configuration filehttpd.conf.

                                    3.  Directive containers, also called sections.
                                       (a)  True                       (b)  False

                                    4.  ServerRoot directive takes a double argument.
                                       (a)  True                       (b)  False

                                    5.  The error log contains logs sent from Apache for errors encountered during the course of
                                      operation.
                                       (a)  True                       (b)  False

                                 4.8 Review Questions


                                    1.  Give the steps of Apache Configuration File Structure.

                                    2.  What are Apache Log Files? Give their types also.

                                    3.  What are error logs?
                                    4.  Write down different rules for Apache directive syntax.

                                   5.  Explain containers.

                                    6.  What do you mean by ServerRoot?


        54                                LOVELY PROFESSIONAL UNIVERSITY
   54   55   56   57   58   59   60   61   62   63   64