Apache-Access-Headers

 view release on metacpan or  search on metacpan

Headers.pm  view on Meta::CPAN


=head2 Other Options

There are three special configuration options. They are outlined here:

=over 3

=item B<ALL>

If the <id> of a <header> block is 'ALL', then _all_ requests for resources
matched by the attached <path> tags. This is useful for allowing access
to <path>/</path> and <path>index.html</path>, etc.

=back

=over 3

=item B<REFERER>

If the <id> of a <header> block is 'REFERER', then the referer header is 
checked against an array of referer values specified by <referer> tags

README  view on Meta::CPAN

    For example, using the sample conf, a request for /users/jeffo/ must
    have an X-Secret-User-ID header set to 'jeffo'. If X-Secret-User-ID
    header is present but set to 'tori', the request will be denied.

  Other Options

    There are three special configuration options. They are outlined here:

    ALL
       If the <id> of a <header> block is 'ALL', then _all_ requests for
       resources matched by the attached <path> tags. This is useful for
       allowing access to <path>/</path> and <path>index.html</path>, etc.

    REFERER
       If the <id> of a <header> block is 'REFERER', then the referer header
       is checked against an array of referer values specified by <referer>
       tags in the <header> block.

       For example, using the sample conf file, requests for
       /images/background.gif coming from a page on http://www.rulez.com/,
       or http://www.picnicman.com/ will be accepted.



( run in 2.574 seconds using v1.01-cache-2.11-cpan-e1769b4cff6 )