SunQuest
 
       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  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Forums Sitemap 
IBM® developerWorks 
Sun Developer Network 
Dedicated Servers 
E-Commerce Hosting 
Linux Web Hosting 
Managed Hosting 
Small Business Hosting 
Actuate Whitepapers 
VeriSign Whitepapers 
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? 
ORACLE

Monitoring the Oracle HTTP Server
By: McGraw-Hill/Osborne
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 2
    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:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb 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

    Stay one step ahead of the competition. Evaluate and give feedback on some of the hottest web development tools on the market today. Make your opinion heard! Click Here

    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.


    DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.

       · This article is an excerpt from the book "Oracle 10g Application Server Exam Guide,"...
     

    Buy this book now. This article is excerpted from chapter five of the book Oracle 10g Application Server Exam Guide, written by Sam Alapati (McGraw-Hill, 2006; ISBN: 0072262710). Check it out today at your favorite bookstore. Buy this book now.

       

    ORACLE ARTICLES

    - 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...
    - Sub-templates and More with Oracle HTML DB
    - Focusing on Templates in Oracle HTML DB





    © 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway