[SunRescue] Apache questions

Dan Lane rescue at sunhelp.org
Tue Feb 6 12:47:06 CST 2001


This is mine you should be able to figure it out from here... stick this
in a .htaccess file :)


DirectoryIndex index.cgi

Options All

<Limit GET POST>
  <remoteip ^192\.168\.0\.>
    allow from all
  </remoteip>
  <remoteip ^192\.168\.4\.>
    allow from all
  </remoteip>


  <!remoteip ^192\.168\.(3|4)\.>
    AuthType Basic
    AuthName Live porn area - username required when accessing from outside the local network
    AuthUserFile /export/home/dan/etc/htpasswd
    AuthGroupFile /export/home/dan/etc/htgroup
    require valid-user
  </remoteip>
</limit>


Regards,
Dan Lane (d at x11.net)

Web: http://www.logicbomb.net
PGP Key: http://www.logicbomb.net/pgpkey



Paul Khoury sent the following on Tue, 6 Feb 2001...

> I recently had a hacker whom I personally know of try to browse my site,
> fortunately nothing happened.  How can I deny my whole server from serving
> him information?  I tried the deny from and allow from variables, but they don't
> seem to work in my test environment.  I have an IP address and 2 domains
> I want to completely block off.
>
> Thanks all,
>
> Paul
>
>
> _______________________________________________
> Rescue maillist  -  Rescue at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/rescue
>




More information about the rescue mailing list