httpd-dev mailing list archives

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

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.

regards,

Johannes Alberti
  -----Ursprungliche Nachricht-----
  Von: ks [mailto:kesov@softhome.net]
  Gesendet: Sonntag, 13. Januar 2002 11:42
  An: dev@httpd.apache.org; current-testers@apache.org
  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
2.0

  I will be thankful for any advise
  ks,
  kesov@softhome.net

Mime
View raw message