On Mon, Sep 17, 2001 at 01:10:56PM +1000, Ian Ward wrote:

> # Special dealer support area
> <Location  /support/dealer>
> Options Indexes FollowSymLinks
> AllowOverride   Limit
> AuthName        dealer
> AuthType        Basic
> AuthUserFile    /etc/httpd/security/dealer.passwd
> AuthGroupFile   /etc/httpd/security/dealer.group
> <Limit GET POST>
> require valid-user
> </Limit>
> </Location>
> 
> I don't seem to be able to mix access methods, I would like the intranet
> people from the 192.168.0.0/8 to have access without being prompted for a
> username password.

Here's an example:

    <Location /server-status>
        SetHandler server-status
        Order deny,allow
        Deny from all
        Allow from .vastsystems.com.au
        Allow from localhost
        AuthType Basic
        AuthName serverstatus
        AuthGroupFile /etc/httpd/auth/apache.groups
        AuthUserFile /etc/httpd/auth/apache.users
        require group vast
        satisfy any
    </Location>

Anyone connecting from *.vastsystems.com.au or localhost isn't prompted
for a password; those connecting from elsewhere need to provide a
username and password.


Cheers,

John
-- 
whois [EMAIL PROTECTED]
GPG key id: 0xD59C360F

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to