RE: [users@httpd] .htaccess to prevent external access

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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:gdanen@xxxxxxxxx]
Sent: Wednesday, December 21, 2005 6:38 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [users@httpd] .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: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux