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

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

 



On 12/21/05, Graham Frank <gfrank@xxxxxxxxxxxxxx> wrote:
>
> 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.

Oops.  I think you meant
Order Deny,Allow

And he asked for how to allow a single address, so more like
Allow from 192.0.0.1

For the username/password part, see:
http://httpd.apache.org/docs/2.2/howto/auth.html

Joshua.

[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