Home
HSLAB HTTP Monitor Online Help Prev Page Prev Page
HSLAB HTTP Monitor Help System
What's new
What is it
System Requirements
Handy Software Lab Products FAQ
Before You Begin
How it works
Why This Software?
Work With the Program
Main Window
Server Status
Connection and Network Statistics
Content Statistics
Detailed Statistics for Virtual Server (Table)
Virtual Server Connections Distribution
Server Operation
Server Operation Distribution
Countries
Connections by Country
Connections by Host
Monitor Options
Apache Configuration Wizard
Connections Data
Server Profiles
Threshold and Alarms
Advanced Filtering Options
Simple Regexp Syntax
Regular Expressions
Related Apache Documents
Apache Core Features
Module mod_status
Access Control by URL
Apache's Handler Use
Apache Performance Notes
Contacts
Company
Support
Report a bug
License Agreement and Registration
END-USER LICENSE AGREEMENT FOR THIS SOFTWARE
Distribution of Evaluation Version
Why Register?
Unregistered version limitations
Register Online
Enter Registration Code
Related Information
Comma-separated values
Enabling Status Support
Apache HTTP Server

Apache HTTP Server Version 1.3

The

<Location> Directive

Syntax: <Location URL prefix>

Context: server config, virtual host

Status: core

The <Location> directive provides for access control by URL. It is comparable to the <Directory> directive, and should be matched with a </Location> directive. Directives that apply to the URL given should be listen within. <Location> sections are processed in the order they appear in the configuration file, after the <Directory> sections and .htaccess files are read.

Note that, due to the way HTTP functions, URL prefix should, save for proxy requests, be of the form /path/, and should not include the http://servername. It doesn't necessarily have to protect a directory (it can be an individual file, or a number of files), and can include wild-cards. In a wild-card string, `?' matches any single character, and `*' matches any sequences of characters.

This functionality is especially useful when combined with the SetHandler directive. For example, to enable status requests, but allow them only from browsers at foo.com, you might use:

    <Location /status>

 

    order deny,allow

    deny from all

    allow from .foo.com

    </Location>


The CHM file was converted to HTML by chm2web software.