You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Paul Lindner <li...@itu.int> on 1998/03/02 11:42:20 UTC

mod_auth-any/1897: LocationMatch regex problem

>Number:         1897
>Category:       mod_auth-any
>Synopsis:       LocationMatch regex problem
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Mon Mar  2 02:50:00 PST 1998
>Last-Modified:
>Originator:     lindner@itu.int
>Organization:
apache
>Release:        1.3b5
>Environment:
Digital Unix 4.0B (564), standard DEC compiler, flags -fast
>Description:
Using <Location ~> or <LocationMatch> for the following:

  <Location ~ ".*/aft98/auth/.*">  fail to trigger authentication
  <Location ~ ".*/aft98/auth/">    does trigger the authentication prompts

Here is the full section in the access.conf file:

<Location ~ ".*/cyberforum/aft98/auth/.*" >
  AuthType Basic
  AuthName "Africa Telecom 98 Presenters"
  AuthUserFile /var/www/auth/cfo_aft98
  require valid-user
</Location>

This configuration works correctly on Apache 1.3b2, but fails on 1.3b5...
>How-To-Repeat:

>Fix:
Haven't dug into the source yet...
%0
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]