everythingOracle.bizhat.com

 

'Everything you wanted
to know about Oracle'

Training References Syntax Tell A Friend Contact Us

 

 

Application Server

01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

<< Previous

Chapter # 08

Next >>



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 <http://www.iselfschooling.com/>
ErrorLog /usr/virtual/logs/error_log
</VirtualHost>
<VirtualHost www.iselfschooling.com>
DocumentRoot /usr/virtual/htdocs/home
ServerName www.iselfschooling.com <http://www.iselfschooling.com/>
ErrorLog /usr/virtual/logs/error_log
</VirtualHost>
     Reviews and Templates for FrontPage
     

Copyright � everythingOracle.bizhat.com 2006 All Rights Reserved.