allowing dynamic ip with dnsalias to access apache

This is a discussion on allowing dynamic ip with dnsalias to access apache within the Linux Web Servers forums, part of the Web Server and Related Forums category; We need to allow clients with dynamic ip to access a apache web server, but we cannot use login/passwd ...


Go Back   Usenet Forums > Web Server and Related Forums > Linux Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-13-2005
redoverlord
 
Posts: n/a
Default allowing dynamic ip with dnsalias to access apache

We need to allow clients with dynamic ip to access a apache web server,
but we cannot use login/passwd as these people should not access the
web server outside a certain fixed location which unfortunately due to
policy of ISP to not allocate fixed ip address to our multiple dsl
connections.

Any idea/hint on where (if possible) to look in apache conf?

  #2 (permalink)  
Old 04-13-2005
David Efflandt
 
Posts: n/a
Default Re: allowing dynamic ip with dnsalias to access apache

On 13 Apr 2005 02:59:19 -0700, redoverlord <ronny@toolink.com> wrote:
> We need to allow clients with dynamic ip to access a apache web server,
> but we cannot use login/passwd as these people should not access the
> web server outside a certain fixed location which unfortunately due to
> policy of ISP to not allocate fixed ip address to our multiple dsl
> connections.
>
> Any idea/hint on where (if possible) to look in apache conf?


Possibly use "Allow from" with domain or hostnames instead of IPs, and use
dynamic DNS for the dynamic IPs. Do a web search for "dns hosting". I
use no-ip.com for dynamic DNS for my pppoe, and update it automatically
by running their dynamic update client once from /etc/ppp/ip-up (which
runs whenever pppd gets a new IP). DNS cach expire time is 60 seconds, so
updates seem to take effect immediately.

Their 'nix or Windows DNS update clients can be run as a service or daemon
to periodically update if behind NAT or proxy. Although, in that case if
PPPoE reconnects, there may be a delay recognizing the IP change until
next periodic update.
  #3 (permalink)  
Old 04-18-2005
Andy Davidson
 
Posts: n/a
Default Re: allowing dynamic ip with dnsalias to access apache

[redoverlord wrote in comp.infosystems.www.servers.unix]
> We need to allow clients with dynamic ip to access a apache web server,
> but we cannot use login/passwd as these people should not access the
> web server outside a certain fixed location which unfortunately due to
> policy of ISP to not allocate fixed ip address to our multiple dsl
> connections.


You can put hostnames into Allow from, and get users to use a dyndns
style client to keep these hostnames in sync.

Bit hacky, though - I'd be tempted to setup a vpn service for roaming
users, so that the credentials can be checked before apache gets the
requests. This will keep your configs cleaner, and give you a little
more management potential for mobile workers.



--
http://fotoserve.com/ - Prints, Slides, Posters, Mugs, T-shirts,,
Calendars, Jigsaws, Tableware, Caricatures, Greetings cards, Picture
bags, Photo Album and Book covers, Canvas Prints, tissues and more
..... from your own digital images.
 
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 07:15 AM.


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