You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Pantelis Hadzipantelis <ph...@tsrtech.net> on 2003/03/21 14:53:23 UTC

[users@httpd] Is this syntax correct?

#<Directory "/var/www/html/webmail">
#       Order allow,deny
#       Deny from all
#       Allow from 128.127.0.0/16
#       Allow from 172.17.0.0/16
#       Allow from 172.32.0.0/16
#       Allow from 204.47.1.0/24
#       Allow from 204.101.80.0/24
#       Allow from 204.101.167.0/24
#       Allow from 206.47.0.0/16
#       Allow from 207.236.0.0/16
#       Allow from 192.168.254.0/24
#</Directory>
 
It doesn't seem to work though . Help?
 
Appreciate it.
 
--------------------------------------------------------------------
Pantelis Hadzipantelis
TSR Technologies Inc.
Linux Specialist
2421 Guenette, St-Laurent
Quebec, H4R 2E9
tel. 514-731-3418 fax. 514-731-3562
email. phadzi@tsrtech.net web. www.tsrtech.net
--------------------------------------------------------------------
 

Re: [users@httpd] Is this syntax correct?

Posted by Joshua Slive <jo...@slive.ca>.
On Fri, 21 Mar 2003, Pantelis Hadzipantelis wrote:

> #<Directory "/var/www/html/webmail">
> #       Order allow,deny
> #       Deny from all

> It doesn't seem to work though ... Help?

Second time we've seen this question today.  I think you need to go to the
docs and look up the "Order" directive to see what it does.  You will find
that with the above two lines, all requests will be denied regardless of
how many Allow directives you have.

Joshua.

---------------------------------------------------------------------
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