httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: BUG? ``deny from'' ceases to work
Date Thu, 19 Mar 1998 20:12:37 GMT
Can you check it didn't break since 1.3b5?

Dean

On Thu, 19 Mar 1998, Martin Kraemer wrote:

> Am I just too stupid, or do we have a serious bug here?
> In an .htaccess file, I have:
> 
>  <Files x.shtml>
>  # <Limit GET>
>    order allow,deny
>    allow from all
>    deny from env=muscatmsi
>    deny from deejai.mch.sni.de
>    deny from 139.25.105.242
>  #  require valid-user
>  # </Limit>
>  </Files>
> 
> I access the document "x.shtml" from deejai.mch.sni.de (which is
> IP=139.25.105.242), and the variable muscatmsi is set to 1 by
>     BrowserMatch "(my browser regexpr)" muscatmsi
> 
> so there should be three reasons NOT to serve the document. Yet is is
> served fine (it contains a <!--#printenv --> which shows me that the env
> variable is set too).
> 
> When I uncomment the "require" line then I get a 401 allright.
> 
> Uncommenting the <Limit> doesn't change anything.
> 
> Why the @#$%^& don't I get a 403 denied?
> 
> Now am I stupid or what?
> 
>     Martin
> -- 
> | S I E M E N S |  <Martin.Kraemer@mch.sni.de>  |      Siemens Nixdorf
> | ------------- |   Voice: +49-89-636-46021     |  Informationssysteme AG
> | N I X D O R F |   FAX:   +49-89-636-44994     |   81730 Munich, Germany
> ~~~~~~~~~~~~~~~~My opinions only, of course; pgp key available on request
> 


Mime
View raw message