Hi peter

I think the docs say that a directory match will override a location match

I would try adding it as a directory entry


<Directory home/johndoe/public_html/cgi-bin/cvsweb.cgi>
order allow,deny
deny from all
allow from localhost  # not necessary
allow from 203.46.4.222
</Directory>

I have a mail list if interested , mail me privately

*********** REPLY SEPARATOR  ***********

On 30/11/99 at 16:21 Peter Kiem wrote:

>-----BEGIN PGP SIGNED MESSAGE-----
>Hash: SHA1
>
>OK this is REALLY starting to annoy me,
>
>I am trying to protect an Apache CGI from outside access and either NOONE
>can get access or EVERYONE can 8(
>I am trying to prevent access to the CGI cvsweb.cgi except from my
>workstation IP.  The script is stored at
>/usr/local/apache/cgi-bin/cvsweb.cgi
>
>Configuration:
>Server is a virtual server hosting multiple virtual domains
>ACL configuration is:
><Directory "/usr/local/apache/cgi-bin">
>  AllowOverride None
>  Options None
>  order deny,allow
>  allow from all
></Directory>
><Location "/cgi-bin/cvsweb.cgi">
>  allow from 203.46.4.222
>  order allow,deny
>  deny from all
></Location>
>
>All I get from the server logs is:
>[Tue Nov 30 16:17:34 1999] [error] [client 203.46.4.222] client denied by
>server configuration: /usr/local/apache/cgi-bin/cvsweb.cgi
>



Regards

Greg W
IT Consultant Sydney Australia

***Please trim any replies***
***Please turn off HTML in your email***
***Please don't use the list for test messages***
***Why not read the archives? http://moongroup.com/redhat.phtml ***


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to