httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Access restriction control
Date Tue, 12 Sep 2006 16:01:56 GMT
On 9/12/06, Pierre.Rust@sita.co.za <Pierre.Rust@sita.co.za> wrote:
>
> How can I configure the HTTP server to only allow certain IP addresses to
> access the site without including java scripts in the HTML pages? I am
> running 2 servers, one for production environment and one for a QA
> environment, but I want only certain users to access the QA environment.

<Location />
Order Allow,Deny
Allow from 111.111.111/24
Allow from 222.222.222.222
</Location>

See the docs for mod_access/mod_authz_host (depending on your version).

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message