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

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

 



Hmmm... Now I get an error 500...

 Order Deny,Allow
 Deny from all
 Allow from 192.168.0.218

No combinations seem to work.


On 12/21/05, Joshua Slive <joshua@xxxxxxxx> wrote:
> 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.
>


--
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



[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