httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject RE: [users@httpd] Little help...
Date Thu, 27 Feb 2003 01:33:17 GMT
On Wed, 26 Feb 2003, Jeff Cohen wrote:

> Try:
>  <Directory "/Webmail/">
>  	Order allow,deny
> 	Allow from 128.127.0.0/16
> 	Deny from all
>  </Directory>

Because the deny rule is applied after the allow rule, this combination
will have the effect of denying all clients.

I'm pretty sure that what you are looking for is

order deny,allow
deny from all
allow from 128.127

>
> > -----Original Message-----
> > From: Pantelis Hadzipantelis [mailto:phadzi@tsrtech.net]
> > Sent: Wednesday, February 26, 2003 2:46 PM
> > To: users@httpd.apache.org
> > Subject: RE: [users@httpd] Little help...
> >
> > Doesn't work
> >
> > I put the following:
> >
> > <Directory "/Webmail"/>
> > 	Order allow,deny
> > 	Deny from all
> > 	Allow from 128.127.0.0/255.255.0.0
> > </Directory>
> >
> > I also tried:
> >
> > <Directory "/Webmail"/>
> > 	Order allow,deny
> > 	Deny from all
> > 	Allow from 128.127.0.0/16
> > </Directory>
> >
> >
> > Am I doing it wrong?
> >
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

-- 
Pilgrim, how you journey on the road you chose
To find out where the winds die and where the stories go
 --Pilgrim (Enya - A Day Without Rain)

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message