[tech] restricting access to ucc web sites

James Andrewartha trs80 at ucc.gu.uwa.edu.au
Tue Apr 29 19:55:47 WST 2003


On Tue, 29 Apr 2003, Jean-Paul Blaquiere wrote:

> is it possible to restrict access to personal web pages hosted at ucc to
> either uwa or waix?

It shouldn't be hard ... a little googling on "htaccess ip restriction"
gave me this code snippet for your ~/public-html/.htaccess file:

<limit GET>
order deny,allow
deny from all
allow from 192.168.0.1
</limit>

WAIX is a tad harder, since the IP ranges of waix aren't well defined
.. perhaps something involving hosting the page on mussel in public_html
(since mussel is only accessible from UWA and WAIX).

-- 
# TRS-80              trs80(a)ucc.gu.uwa.edu.au #/ "Otherwise Bub here will do \
# UCC President        http://trs80.ucc.asn.au/ #|  what squirrels do best     |
[ "There's nobody getting rich writing          ]|  -- Collect and hide your   |
[  software that I know of" -- Bill Gates, 1980 ]\  nuts." -- Acid Reflux #231 /



More information about the tech mailing list