Oracle
  Home arrow Oracle arrow Page 4 - Monitoring the Oracle HTTP Server
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
ORACLE

Monitoring the Oracle HTTP Server
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 3
    2007-01-25


    Table of Contents:
  • Monitoring the Oracle HTTP Server
  • How to Monitor the Oracle HTTP Server
  • Using Oracle HTTP Server Log Files
  • CERTIFICATION OBJECTIVE 5.03: OHS Configuration Directives

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Monitoring the Oracle HTTP Server - CERTIFICATION OBJECTIVE 5.03: OHS Configuration Directives
    ( Page 4 of 4 )

    As was mentioned previously in this chapter, you can classify OHS directives into classes or groups based on the context in which they can be used. A context indicates where in the server's configuration files a directive is considered legal. You can have directives that have either a server configuration, a virtual host, a directory, or an htaccess context. Remember that all directives are legal only in their specified contexts--if you use them in the wrong contexts, you'll get errors or the HTTP Server may even fail to start. You've learned about the key administrative and other OHS configuration directives earlier. Let's delve a little deeper into the application of the OHS configuration directives in various contexts and see how the OHS merges the directives when necessary.

    The Server Configuration Context

    The server configuration context applies to all directives inside the httpd.conf file unless they are part of any type of a container. Containers are arbitrary sections of the OHS that limit the scope of the OHS configuration directives--for example, to only a certain directory, file, or URL. This means that the scope of server context directives that fall within a container will be limited to the containers' sphere of influence.

    If you place any OHS directive in the httpd.conf file, it will automatically apply to the entire OHS Web server. However, there may be cases in which you want certain directives to apply only to part of the server. You use OHS containers to limit the scope of the
    configuration directives. The most important of these containers are the <VirtualHost>, <Directory>, <DirectoryMatch>, <Files>, <FilesMatch>, <Location>, and <LocationMatch>. For example, a directive placed within the container tags <Files> and </Files> within the httpd.conf file will apply only to a certain file system. Similarly, you can limit the scope of a directive to a certain URL, by enclosing the directive within the container tags <Location> and </Location>.  Containers thus help you to configure the OHS server at a decentralized level. Virtual hosting is a feature by which the OHS Web server serves multiple Web sites simultaneously. By using the <VirtualHost> container, you can limit the scope of a configuration directive to a certain Web site only.

    Here are the various OHS containers, which are denoted by opening and closing tags before and after their names within the httpd.conf file. Remember that any directives that don't fall into one of these containers will apply to the entire server.

    • <VirtualHost>    You can use the <VirtualHost> directives to serve multiple Web sites from a single server. This Virtual Host context specifies that a directive can appear inside <VirtualHost> containers in the server configuration files. The virtual host sections directives apply only to specific virtual hosts identified by a specific IP address--IP port pair. I'll explain the <VirtualHost> container in the section titled Virtual Host Context, later in this chapter.
    • <Directory> and <DirectoryMatch>   These containers or sections contain directives applicable to particular directories.
    • <File> and <FileMatch>    These containers or sections contain directives applicable only to certain files.
    • <Location> or <LocationMatch>    These containers or sections contain directives applicable to particular URLs.

    The various OHS container directives are examined in more detail in the following subsections. Note that the container directives always have HTML-type opening and closing tags surrounding the directives they enclose, as, for example, in <Directory>, </Directory>.

    Virtual Host Context

    OHS can serve multiple Web sites simultaneously, using a feature known as Virtual Hosting. If you place directives inside a <VirtualHost> container, they will apply only to requests from specific Web sites.The virtual host context specifies that a directive can appear inside <VirtualHost> containers in the server configuration files. The virtual host sections directives apply only to specific virtual hosts identified by a specific IP address--IP port pair. Virtual hosts and the use of the <VirtualHost> container are explained in more detail later in this chapter, in the section on virtual hosting.

    Please check back next week for the continuation of this article.



     
     
    >>> More Oracle Articles          >>> More By McGraw-Hill/Osborne
     

       

    ORACLE ARTICLES

    - Oracle's Turn to Play in the Sun
    - Implementing and Using Oracle`s Restore Poin...
    - Tuning PL/SQL Code
    - Debugging PL/SQL Code
    - Testing PL/SQL Code
    - Working With PL/SQL Code
    - Conditional Compilation for Oracle Database ...
    - Compile-Time Warnings for Oracle DB 10g
    - Compiling PL/SQL Code for an Oracle Database
    - Troubleshooting PL/SQL Code
    - Managing PL/SQL Code
    - Data Manipulation and More for HTML DB Appli...
    - Oracle Database Fundamentals
    - Adding Processes to HTML DB Applications
    - Adding Computations, Processes, and Validati...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek