[KLUG Members] Apache LocationMatch question

Adam bultman adamb at glaven.org
Fri Sep 16 16:16:53 EDT 2005


Has anybody had experience using LocationMatch in apache?

I'm trying to selectively lock down Apache for awstats. I wish to have
awstats.pl be available for customers to use, but I don't want them to
be able to see each other's configurations.

I've got something like this:

<LocationMatch "/awstats/awstats.pl?config=myconfig">
    AuthName "Stats"
    AuthType Basic
    AuthUserFile conf/stats.users
    Order Allow,Deny
    Require valid-user
    Satisfy any
</LocationMatch>

I want to have other config= options available for each client.

The problem is that when I surf to the page, LocationMatch either doesn'
match correctly (I've tried throwing in an asterisk after myconfig too)
or it simply doesn't work. 

I've googled, read the manual, looked on the web for examples, but I
can't get it to work .

Anybody had this or tried this?

Adam


More information about the Members mailing list