iSelfSchooling.com  Since 1999     References  |  Search more  | Oracle Syntax  | Free Online Oracle Training

    Home      .Services     Login       Start Learning     Certification      .                 .Share your BELIEF(s)...

 

. Online Accounting        .Copyright & User Agreement   |
    .Vision      .Biography     .Acknowledgement

.Contact Us      .Comments/Suggestions       Email2aFriend    |

 

Online Oracle Training for beginners and advanced - The most comprehensive Oracle tutorial

The authors do not guarantee or take any responsibility for the accuracy, or completeness of the information.

Advanced - Application Server

 

 

 

 

 

 

 

 

Lesson 08

"The mystic bond of brotherhood makes all men one."

-Thomas Carlyle (1795-1881)

What is directive?

Directives are files to use for configuring the server. For example, the web master of an Oracle HTTP Server contains more than 120 directives at his or her disposal for configuring the server. It contains container directives. The containers have opening and closing tag. Any directive that doesn’t appear within a container applies to the entire serve.

 

What is the <Directory> directive and how do you maintain it?

It is a group of directives that apply to the named directory and subdirectories.

Examples of how to maintain the <Directory> directive:

<Directory /> -- refers to the whole file system.

Options none

AllowOverride none

</Directory>

<Directory /home/myfiles/*> --refers to the myfiles subdirectory under home.

AllowOverride none

</Directory>

<DirectoryMatch “/u0[1-6]/”> --refers to directories that start with u0 and end with a number from 1 to 6

AllowOverride none

</Directory>

 

How to use IP-Based or Name-Based Virtual Hosts?

<VirtualHost 200.200.200.2 200.200.200.3>

DocumentRoot /usr/virtual/htdocs/home

ServerName www.iselfschooling.com </>

ErrorLog /usr/virtual/logs/error_log

</VirtualHost>

<VirtualHost www.iselfschooling.com>

DocumentRoot /usr/virtual/htdocs/home

ServerName www.iselfschooling.com </>

ErrorLog /usr/virtual/logs/error_log

</VirtualHost>