allow range of ip addresses

This is a discussion on allow range of ip addresses within the Apache Web Server forums, part of the Web Server and Related Forums category; How do you allow only a range of IP addresses access to a directory? I know I can simply type &...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-04-2005
MZ
 
Posts: n/a
Default allow range of ip addresses

How do you allow only a range of IP addresses access to a directory? I
know I can simply type "allow 192.168.2" to allow all those beginning with
those numbers. But what if I want to allow all of those EXCEPT
192.168.2.1? "Deny" isn't an option either because I want that one to
require passwords. So I have:

Allow from 192.168.2
Require valid-user
Satisfy any

But it never asks for a password, presumably because incoming traffic is
being forwarded to the server through the router (192.168.2.1). Any
ideas?
  #2 (permalink)  
Old 03-04-2005
NSpam
 
Posts: n/a
Default Re: allow range of ip addresses

Davide Bianchi wrote:
> On 2005-03-04, MZ <mark@mdz.no-ip.org> wrote:
>
>>those numbers. But what if I want to allow all of those EXCEPT
>>192.168.2.1? "Deny" isn't an option either because I want that one to
>>require passwords. So I have:

>
>
> I don't think you can do such things, unless you write a server-side
> program that checks the client's IP and ask for the password.
> Davide
>

Love the mission statment, been there done got the T shirt
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:04 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0