Red Hat ENTERPRISE LINUX 3 Reference Manual page 165

Hide thumbs Also See for ENTERPRISE LINUX 3:
Table of Contents

Advertisement

Chapter 10. Apache HTTP Server
(request string)
%r
Lists the request string exactly as it came from the browser or client.
(status)
%s
Lists the HTTP status code which was returned to the client host.
(bytes)
%b
Lists the size of the document.
%\"%{Referer}i\"
Lists the URL of the webpage which referred the client host to Web server.
%\"%{User-Agent}i\"
Lists the type of Web browser making the request.
10.5.37.
CustomLog
identifies the log file and the log file format. By default, the log is recorded to the
CustomLog
/var/log/httpd/access_log
The default
CustomLog
remotehost rfc931 user date "request" status bytes referrer user-agent
10.5.38.
ServerSignature
The
ServerSignature
the
to any server-generated documents, such as error messages sent back to clients.
ServerName
ServerSignature
It can also be set to
signature line of auto-generated responses.
10.5.39.
Alias
The
setting allows directories outside the
Alias
URL ending in the alias automatically resolves to the alias' path. By default, one alias for an
directory is already set up. An
is not in the
DocumentRoot
10.5.40.
ScriptAlias
The
directive defines where CGI scripts are located. Generally, it is not good practice to
ScriptAlias
leave CGI scripts within the
For this reason, a special directory outside of the
executables and scripts is designated by the
and set to
cgi-bin
/var/www/cgi-bin/
It is possible to establish directories for storing executables outside of the
instructions on doing so, refer to Section 10.5.55
(referrer)
(user-agent)
file.
format is
combined
directive adds a line containing the Apache HTTP Server server version and
is set to
by default.
on
or to
.
off
EMail
directory can be accessed by the Web server, but the directory
icons/
.
DocumentRoot
. The following illustrates the
, adds a
EMail
mailto:ServerAdmin
DocumentRoot
, where they can potentially be viewed as text documents.
DocumentRoot
directive. This directory is known as a
ScriptAlias
by default.
AddHandler
combined
HTML tag to the
directory to be accessible. Any
directory containing server-side
cgi-bin
and Section 10.5.21
Directory
147
log file format:
icons/
directory. For
.

Advertisement

Table of Contents
loading

Table of Contents