Red Hat LINUX 7.2 Reference Manual page 211

Hide thumbs Also See for LINUX 7.2:
Table of Contents

Advertisement

Section 13.3:Configuration Directives in httpd.conf
problems and also to disable keepalives and HTTP header flushes for browsers that are known to have
problems with those actions.
13.3.71 Location
<Location> and </Location> tags allow you to specify access control based on the URL.
The next use of Location tags is located within IfModule mod_perl.c tags. These configura-
tion directives are in effect if the mod_perl.so DSO is loaded. See Section 13.4, Adding Modules
to Your Server for more information about adding modules to Apache.
The Location tags name the /var/www/perl directory (an Alias for /perl) as the directory
from which Perl scripts will be served. If a document is requested with an URL containing /perl in
the path, your Web server will look in /var/www/perl/ for the appropriate Perl script.
Several other <Location> options are commented out in your httpd.conf file. If you want to
enable the functionality they provide, you will need to uncomment the appropriate section of direc-
tives.
The put module is no longer distributed as part of the Apache package. You
will have to load the mod_put package separately.
Immediately after the Perl directives discussed previously, your httpd.conf file includes a section
of directives for enabling HTTP PUT (used by Netscape Gold's publish feature, which can post Web
pages to a Web server). If you want to allow HTTP PUT, you will need to uncomment this entire
section:
#Alias /upload /tmp
#<Location /upload>
#
EnablePut On
#
AuthType Basic
#
AuthName Temporary
#
AuthUserFile /etc/httpd/conf/passwd
#
EnableDelete Off
#
umask 007
#
<Limit PUT>
#
require valid-user
#
</Limit>
#</Location>
You will also need to uncomment the following lines at the beginning of httpd.conf so that the
mod_put module is loaded in to Apache:
Note
211

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Linux 7.2

Table of Contents