Order Allow,Deny
Allow from 192
Deny from All

That would return a 403 Forbidden error for anything not connecting from a
192. IP address.

-------------------------------------------------------------------
Graham Frank
(608) 359-1593
Neoservers LLC (http://www.neoservers.com/)
Founder and Owner

-----Original Message-----
From: Gerry Danen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 21, 2005 6:38 PM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] .htaccess to prevent external access


Can someone provide a .htaccess example of:

a. restricting access to a single 192. IP address
b. restricting access to a single username/password

Thanks very much.

--
Gerry
http://portal.danen.org/

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to