Previous Next Contents Glossary Index References Cover License
Apache Glossary

allow

Apache has provision for allowing or denying access to requests based on their originating host. This is handled by the access module which provides the Allow and Deny directives to define the hosts allowed or denied access.

authentication

Apache can reserve the access to certain directories to a set of users. Each of these has a name and a password. When requesting a file from such a directory, a user has to provide his name and password. Authentication is the process by which the user by giving the password ascetains that he is the one he claims to be.

authentication file

An authentication file, as used in an Apache authentication process contains a list of user names associated with their passwords. The password are in an encrypted form as resulted from the processing by an MD5 program. The htpasswd utility, distributed with Apache can be used to generate entries in the authentication file. See Managing the authentication files, in Chapter 3, for more.
Also called password file

authorization

Authorization is the procedure by which Apache grants access of a directory to a user, based on the latter's name and password.
See also authentication above

child

See: tree

CLF Common Log Format

A format defines the informations related to the received requests that Apache is to record into a log file. A log file is defined by the Apache administrator using the CustomLog or a TransferLog directive. If no format is defined in either case, the Common Log Format is assigned to the file.

configuration file

The configuration file, named httpd.conf contains the directives that define the configuration of an Apache system. It is processed when Apache is started. Therefore, for any change in the configuration file to take effect, the Apache system has to be restarted.

configuration panel Windows:

To display the configuration panel:
-click on the START button in the left button corner of the screen
-click on the Configuration panel icon
Clicking on the Add/Delete programs icon will display the applications you can delete.
Buttons available on the panel can guide you to add new applications if need be.

deny

see allow above.

descendant

A descendant of a directory is any directory contained in it.

A
   
  
BC
    
  
DE
 
F
The figure on the left represent a structure composed of the directories "A", "B", "C", "D", "E" and "F", with:
- "B" and "C" contained in "A"
- "D" and "E" contained in "C"
- "F" contained in "E"
The directories "B", "C", "D", "E" and "F" are all descendants of "A".
"A" is an ancestor of them all.
"A" is the parent of "B" and "C". The latter are the children of "A".

directive

The configuration of an Apache system is defined by a set of directives. A directive is a statement that defines some property of the system. The bulk of the directives are contained in the configuration file whose path, relative to the Apache server root is conf/httpd.conf. This file can be displayed using a simple text editor.

directory path

The expression "directory path" as used in this book refers to an uninterrupted sequence of directories in the directory tree where each directory contains the next in the sequence. A directory path is denoted by the corresponding sequence of directory names, in the order of the sequence, separated by a slash, or a backslash, depending of the context.

A
   
  
BC
    
  
DE
 
F
The figure on the left represent a structure composed of the directories "A", "B", "C", "D", "E" and "F", with:
- "B" and "C" contained in "A"
- "D" and "E" contained in "C"
- "F" contained in "E"

In this structure, some examples of directory paths are:
A/B/C/F or A\B\C\F
A/C/E or A\C\E
B/C/F ot B\C\F

domain name

The Internet is a network that connects networks together.

The domain name identifies an individual network in the Internet. In the simplest case, the individual network can be one isolated computer. But a domain in the Internet must be conceived of as a network.
This is a name composed of two words separated by a dot.
The word on the right identifies the domain manager. The word on the left identifies is the domain name proper, which identifies a network.

A domain can be divided into subdomains. The subdomains may identify the computers that compose the domain network. The subdomains are identified by a name composed of the domain name, preceded by the subdomain name and a separating dot.
For example, a domain name can be hatayservices.com. In this:

comis the name of a domain manager
hatayservicesidentifies a domain within the com domain manager - this domain is a network
This domain can be divided into subdomains with such names as: www.hatayservices.com, server.hatayservices.com, php.hatayserices.com, which can represent individual computers in the hatayservices.com network.

In large domains, a subdomain of the domain can be a network, which can be further divided. A sub-subdomain has a name composed of the subdomain name, preceded by a name and a separating dot. For example: appl.server.hatayservices.com
Subdividing can go on like this, with the subdivision names extending to the left.

driver (database)

A database driver is a software module which interfaces with a user program to provide it access to a database. The driver is in the same computer as the user program. The database can be installed in the same computer or in a remote host.

      
 User
program
 
   
    DRIVER     DATABASE
   
   
       

environment variable panel Windows:

In NT or XP Windows systems, a number of system parameters can be defined through the system properties panel.
To have the system properties panel displayed:
-show the My Computer icon, by clicking on the Start icon, or displaying the Windows Explorer tree
-click on the My Comùputericon with the mouse right button (left button on a lefthander mouse) - a selection menu will show
-click on "Properties" - a tagged configuration panel will show
-you can click on the "Advanced" tag -- a panel with a number of buttons will show
-clicking on the "Environment Variables" would display the boxes for creating or modifying system or user environment variables.
-the CLASSPATH variable used by Java is a user variable. If it did not exist, you can click on the "New" button to create and assign it a value. If it did exist, you click on the "Modify" button to modify or add a new path.
To point the CLASSPATH to the C:\myfiles\appl\java\classes directory, you set C:\myfiles\appl\java\classes as the value of the CLASSPATH variable. To point the variable to one more directory, say C:\java\test, you add this path to the CLASPATH value, with a semi-colon (no space) to separate the 2 paths: C:\myfiles\appl\java\classes;C:\test\java
For more informations on how Java works, see the JavaClasspath.html document.

file path

A
   
  
BC
    
   
DE
 
somefile.txt
The expression "file path" as used in this book refers an uninterrupted sequence of directories in a directory tree, ending with and including a file.
A file path is denoted by the corresponding sequence of directory names, in the order of the sequence, followed by the file name. These names separated by a slash, or a backslash, depending of the context.
Example, referring to the figure on the left:
A/C/D/somefile.txt or A\C\D\somefile.txt

group file

A group file, as used in a process that authorizes access to a certain directory to a user of a group, is a file that contains a list that enumerates the users of each of a number of group. See Authorizing user groups in Chapter 3. Apache standard options.

handler

A handler is the internal name used by Apache to designate a program that can run in the Apache environment. A number of handlers (and the corresponding programs) are predefined in Apache. New handlers can be defined using the Action directive. File extensions are associated with a handler through the AddHandler directive, so that files having those extensions are directed to the handler for processing.

header

see HTTP header

htaccess file

A
   
  
BC
    
   
DE
 
.htaccess
An .htaccess (with a dot as the first character in the name) is a file which contains access directives related to its parent directory. This is an alternative to setting the access directives in a <Directory> section of the configuration file.
In the example shown on the left, the .htaccess file contains the access informations related to the D directory.

HTML Form

A form in an HTML page is an entry panel defined by a <FORM> element. The informations associated with a form are essentially:
-input fields which can be text-entry fields, check buttons, etc.
-submit buttons
-the URL of the destination where the informations entered into the form are to be sent
-free presentation text
When the user clicks on one of the submit buttons, a message containing the informations entered into the form are sent to the destination specified by the URL.
A sample form, as can appear on a user screen is:
IDENTITY
First Name
Last Name
Click here to submit

HTTP HyperText Transfer Protocol

HTTP is a protocol used for message transfer in the Internet. It is the protocol used by Apache.
Messages handled by the protocol are sequences of graphic characters.
A communication starts with a request message sent from some origin to a destination. It terminates with the sending back of a response message from the destination. See the http.html document, in the internet directory for more.

HTTP header

An HTTP message starts with a first line, followed by a number of headers that contains the informations related to the message, then the message contents proper.
Some examples of headers are:
Acceptindicates the type of data a user can accept in the response to its request
Content-Typedescribes the data type of a message contents
Refereridentifies the resource from which the request URI (as sent to the server) was obtained

HTTP status

The first line of a response to a request contains a status that indicates how the request has been processed. Some of the possible statuses are:
200OK
400bad request
404the requested resource was not found. As stated in the RFC1626 official HTTP 1.1 document: "This status code is commonly used when the server does not wish to reveal exactly why the request has been refused"
500for some reason, the server could not process the request

IP address

The IP (Internet Protocol) address identifies a host in the Internet. The format presently still in use is a 4 bytes number. For legibility, this number is usually displayed as 4 8-bit decimal numbers separated by a dot. Example:
192.17.23.146

The new format with 6 bytes, called IPv6 is being implemented, to be widely used in the near future.

ISAPI: Internet Server Application Programming Interface

Short for Internet Server API, an API for Microsoft's IIS (Internet Information Server) Web server. ISAPI enables programmers to develop Web-based applications that run much faster than conventional CGI programs because they're more tightly integrated with the Web server. In addition to IIS, several Web servers from companies other than Microsoft support ISAPI. These include Apache.

MD5

MD5 is a program that generates pseudo-random numbers based on a key. The result is a 16 bytes number.
See also SHA.

parent

See: tree

password file

See authentication file, above.

path

A request in the HTTP protocol has the following format:
http://host-id:port/path-info?parameters
In this, the path-info (coming between the host-id or the port number if the latter exists, and the ? sign), identifies the path of the requested file, in the server.

If path-info does not start with an alias nor contains a tilde (~) sign, this path is evaluated relative to the Apache document root

If path-info starts with an alias, the path starts at the directory identified by the alias. It path-info contains a tilde (~) sign, the path can relate to a user file structure.

See also directory path and file path above.

realm

In Apache authorization procedures, directories are grouped into realms. Users are authorized to access a realm rather than an individual directory.

A directory is assigned to a realm when defining the users authorized to access it. A realm is just a name. All directory assigned the same realm name, pertain to the same realm.

After a user has produced the necessary password to access a directory pertaing to a realm, he has not to enter his password again to access another directory of the same realm.

regular expression

A regular expression is a pattern to be matched by character strings.
See "A user guide to CGI - Regular expression, search and replace", at our site www.hatayservices.com. Connect ot the home page, and navigate to the document.

script

A script is a program that is interpreted rather than compiled. A script is executed in a source form. An interpreter reads through the source program, and has the instructions executed as they are encountered.

SHA

SHA is a program that generate a pseudo random number, based on an input key. The result is a 20 bytes number.
See also MD5

SSI - Server Side Include

An SSI element is an element inserted in an HTML page, which can be decoded by the SSI function of Apache, before the page is sent to a requesting client. Based on the element contents, an information is generated and placed in the HTML page, at the location where the element is inserted. An example os such information is the current date and time.

status

see HTTP status

tree

A directory and file structure where a directory can contain files and other directories can be represented by a mathematical structure called a tree.

A
   
  
BC
       
    
DE F
 
G
The structure represented on the left is a tree. Each of the rectangles is a node of the tree.

A node connected by a line to a node above it, is one of the latter's children. A node is the parent of its children. In a tree structure:

-a node can have zero, one or more children.
-all of the nodes have one parent, except one, and only one which has no parent
-the node with no parent is the tree's root

In the example on the left, the nodes labelled "D", "E" and "F" are children of the node "C". This node is the parent of "D", "E" and "F". The node labelled "A" is the root.

This structure can be used to represent a structure of directories and files.

In this presentation, a directory or a file is represented by a node of the tree. A file or directory contained in a directory is represented by a child of the node representation of the latter.

A file is a node with no child.

white space

A white space is one of the following characters, or a contiguous sequence of them, in any number and order:
space characterASCII code: #x0020
carriage return characterASCII code: #x000D
line feed characterASCI code: #x000A
tab characterASCII code: #x0009
form feed characterASCII code: #000C2
zero-width-space characterASCII code: #x200B

These characters usually serve to enhance the legibility of a document to a human reader, but have no semantic signification. Document processors usually treat a sequence of them as a single space character. Also, when transcribing a document, they often replace them with a single space.


Previous Next Contents Glossary Index References Cover License