PDA

View Full Version : question 'bout .htaccess ip filter


stat
02-01-2000, 07:41 PM
[nbsp]new to .htaccess... neat stuff...
[nbsp]i thought this would be an interesting experiment, so i tried to allow all, deny a certain range... well, it's denying everone for some reason.

[nbsp]heres' my .htaccess code:

***************************
AuthUserFile /html.htaccess
AuthGroupFile /dev/null
AuthName ExampleDenyFromNCSA
AuthType Basic

<Limit GET>
order allow,deny
allow from all
deny from .ncsa.uiuc.edu
</Limit>
***************************************

[nbsp]the .ncsa.uiuc.edu is just an example

[nbsp]my permision is set at; -rwx------[nbsp][nbsp]is this correct?

[nbsp]if anyone has any insight it woudl be well appreciated.

[nbsp]p.s. my experiment site is[nbsp][nbsp]http://lightning.prohost.com/~stat

stath@telusplanet.net

Charles Capps
02-01-2000, 11:27 PM
Try using an IP instead of a host name...[nbsp][nbsp](host names aren't resolved)