Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jun 2000 09:32:45 -0700
From:      "Meagan Jia Pi" <meagan@e-lingo.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   allow access to specific IP addresses in Apache
Message-ID:  <016601bfd555$013bb590$e293c83f@meagan>
References:  <D76D503DE976D1119C7E00A0C944D87501CA8013@RSYS002A>

next in thread | previous in thread | raw e-mail | index | archive | help
Morning!

I already know how to allow access to certain IPs to view pages in
"DocumentRoot", so www.mydomain.com  and anything under can
only be viewed by certain IPs by the following lines added into the
configuration file.

[begin]
Order deny,allow
 Deny from all
Allow from 111.222.333.444
Allow from 222.111.222.
Allow from 333.222.
[end]

but it doesn't take any effects for pages under each users' public_html
directories.
In other words,  www.mydomain.com/~username are still open to any IP.

How can I make ~username pages be viewed by certain IPs then?

Please help. Thanks in advance.

-Meagan






To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?016601bfd555$013bb590$e293c83f>