httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johannes Alberti" <>
Subject AW: limit at .htaccess question
Date Sun, 13 Jan 2002 16:57:23 GMT

try this ;)

order deny,allow
deny from  *.it
allow from all

i think you do not want the guests to authentificate so you do not have to
type anything else in your .htaccess file than
the above.


Johannes Alberti
  -----Ursprungliche Nachricht-----
  Von: ks []
  Gesendet: Sonntag, 13. Januar 2002 11:42
  Betreff: limit at .htaccess question

  Needed result
  I am trying to limit access to my server using .htaccess <limit> option
based on top level domain. For example, i do not wish people from   .it
(just example) to access my site

  so,i am including this with my .htaccess file, which is in / dir

  AuthUserFile /
  AuthGroupFile /
  AuthName "Disallow"
  AuthType Basic
  order deny,allow
  deny from  *.it
  allow from all

  and it doesn't work, the server is red hat 7.2, with newest Apache HTTP

  I will be thankful for any advise

View raw message