Options; Allowoverride - Red Hat ENTERPRISE LINUX 4.5.0 Reference Manual

Table of Contents

Advertisement

Chapter 10. Apache HTTP Server
settings has to be explicitly given those settings.
In the default configuration, another
which assigns less rigid parameters to the directory tree so that the Apache HTTP Server can
access the files residing there.
The
container can be also be used to configure additional
Directory
server-side applications outside of the directory specified in the
Section 5.41, "
ScriptAlias
To accomplish this, the
For example, if CGI scripts are located in
container to the
Directory
<Directory /home/my_cgi_directory> Options +ExecCGI </Directory>
Next, the
AddHandler
as CGI scripts. Refer to
For this to work, permissions for CGI scripts, and the entire path to the scripts, must be set to
0755.
5.23.

Options

The
directive controls which server features are available in a particular directory. For
Options
example, under the restrictive parameters specified for the root directory,
the
directive. No features are enabled, except that the server is allowed to
FollowSymLinks
follow symbolic links in the root directory.
By default, in the
DocumentRoot
.
FollowSymLinks
Indexes
(for example,
DirectoryIndex
follow symbolic links in that directory.
Note
Options
replicated to each
"
VirtualHost
5.24.

AllowOverride

The
directive sets whether any
AllowOverride
in an
file. By default, both the root directory and the
.htaccess
no
overrides.
.htaccess
170
Directory
"
for more information).
container must set the
Directory
/home/my_cgi_directory
file:
httpd.conf
directive must be uncommented to identify files with the
Section 5.56, "
AddHandler
directory,
Options
permits the server to generate a directory listing for a directory if no
) is specified.
index.html
statements from the main server configuration section need to be
VirtualHost
"
for more information.
container is configured for the
ScriptAlias
option for that directory.
ExecCGI
, add the following
"
for instructions on setting
is set to include
Indexes
FollowSymLinks
container individually. Refer to
can be overridden by the declarations
Options
DocumentRoot
DocumentRoot
directories for
cgi-bin
directive (refer to
extension
.cgi
.
AddHandler
is only set to
Options
and
allows the server to
Section 5.65,
are set to allow

Advertisement

Table of Contents
loading

Table of Contents