Customlog; Serversignature; Alias; Scriptalias - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 10. Apache HTTP Server
5.38.

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
5.39.

ServerSignature

The
ServerSignature
and the
to any server-generated documents, such as error messages sent back to
ServerName
clients.
ServerSignature
It can also be set to
off
signature line of auto-generated responses.
5.40.

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
icons/
the directory is not in the
5.41.

ScriptAlias

The
directive defines where CGI scripts are located. Generally, it is not good
ScriptAlias
practice to leave CGI scripts within the
text documents. For this reason, a special directory outside of the
containing server-side executables and scripts is designated by the
directory is known as a
It is possible to establish directories for storing executables outside of the
For instructions on doing so, refer to
"
".
Directory
5.42.

Redirect

When a webpage is moved,
format is as follows:
Redirect /<old-path>/<file-name>
http://<current-domain>/<current-path>/<file-name>
In this example, replace
and
<current-domain>
174
file.
format is the
combined
directive adds a line containing the Apache HTTP Server server version
is set to
by default.
on
or to
.
, adds a
EMail
EMail
icons/
.
DocumentRoot
DocumentRoot
and is set to
cgi-bin
Section 5.56, "
can be used to map the file location to a new URL. The
Redirect
with the old path information for
<old-path>
with the current domain and path information for
<current-path>
log file format, as illustrated here:
mailto:ServerAdmin
directory to be accessible. Any
DocumentRoot
directory can be accessed by the Web server, but
, where they can potentially be viewed as
DocumentRoot
by default.
/var/www/cgi-bin/
"
and
AddHandler
HTML tag to the
directory
directive. This
ScriptAlias
directory.
cgi-bin/
Section 5.22,
and
<file-name>

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ENTERPRISE LINUX 4.5.0 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents