httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerry Danen <gda...@gmail.com>
Subject Re: [users@httpd] .htaccess to prevent external access
Date Thu, 22 Dec 2005 06:31:17 GMT
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@slive.ca> wrote:
> On 12/21/05, Graham Frank <gfrank@neoservers.com> 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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message