httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Boutilier <>
Subject Re: [users@httpd] Newbie (ish) question about access
Date Tue, 06 Jan 2004 19:30:48 GMT
You can use a .htaccess like the following:

AuthType Basic
AuthName Password
AuthUserFile /usr/local/apache/htdocs/.passwd
satisfy any
deny from all
allow from
require valid-user

Michael Thompson wrote:
> Hi Users,
>   Is there any way to determine where a user is connecting from? What
>   I want to do is open my box to the world, but if a user is not
>   connecting from a local IP (192.168.1.*) to ask for a username/password.
>   Any ideas on how to do this?

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message