Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

Access from only one, changing IP

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache 2.0.47 doesn't create PID-FILE  
Author Message
user2393

External


Since: Jul 27, 2003
Posts: 1



(Msg. 1) Posted: Sun Jul 27, 2003 6:02 am
Post subject: Access from only one, changing IP
Archived from groups: alt>apache>configuration (more info?)

Hi,

i want to give access only one person via the internet to my apache server.
The problem is, that his ip adresse is changing once a day.

I have no problem getting his ip. When i put this ip into the httpd.conf
file with the <allow from <ip>> statement, everything works fine. Is there
another way to write the ip into a file and to import this as an allow from
.... statement ?

Thanks,
Alex

 >> Stay informed about: Access from only one, changing IP 
Back to top
Login to vote
fakedaddress

External


Since: Jul 21, 2003
Posts: 4



(Msg. 2) Posted: Sun Jul 27, 2003 6:02 am
Post subject: Re: Access from only one, changing IP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

News bei T-Online wrote:

 > Hi,
 >
 > i want to give access only one person via the internet to my apache
 > server. The problem is, that his ip adresse is changing once a day.
 >
 > I have no problem getting his ip. When i put this ip into the httpd.conf
 > file with the <allow from <ip>> statement, everything works fine. Is there
 > another way to write the ip into a file and to import this as an allow
 > from ... statement ?
 >
 > Thanks,
 > Alex

I could not be further from "expert" if I tried ... but why not use password
authorization?

Bill
--
Zone 5b (Detroit, MI)
I do not post my address to news groups.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: Access from only one, changing IP 
Back to top
Login to vote
jring

External


Since: Jun 30, 2003
Posts: 154



(Msg. 3) Posted: Sun Jul 27, 2003 12:37 pm
Post subject: Re: Access from only one, changing IP [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

 > I have no problem getting his ip. When i put this ip into the httpd.conf
 > file with the <allow from <ip>> statement, everything works fine. Is there
 > another way to write the ip into a file and to import this as an allow from
 > ... statement ?

while i don't really see why password auth is not ok, it can be done
with a rewrite-map:

RewriteEngine On
RewriteMap ipmap txt:/usr/local/apache/conf/ipmap.txt

RewriteRule (.*) ${ipmap:%{REMOTE_ADDR}|forbidden.html} [C]
RewriteRule forbidden.html - [F]

with /usr/local/apache/conf/ipmap.txt containing the following:

w.x.y.z $1

joachim<!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Access from only one, changing IP 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
how to only allow access for localhost - Hi, Is it possible to set up Apache to only allow localhost access to my web files so no one else can gain access? Reason is I am developing some web pages but my computer is always online so I dont want anyone being able to find a web site here when..

restricting/allowing access to directories - Hello, I've got question about restricting access to directories. I,ve got a few Alias directories in my httpd.conf. These can only from my lokal network be seen with thse lines: -order deny,allow -deny from all -allow from 192.168.100 Now I want one..

deleting access.log error.log Apache on Windows. - Hello, I have a Windows server running Apache. The access.log and error.log are large and I would like to delete them or compress / zip them. I would like to do this without stopping Apache but I realize these are raw log files. Any help would be..

deleting access.log error.log Apache on Windows. - Hello, I have a Windows server running Apache. The access.log and error.log are large and I would like to delete them or compress / zip them. I would like to do this without stopping Apache but I realize these are raw log files. Any help would be..

Cannot access webserver from internet, but works fine on i.. - I've just installed apache on a P133 Linux box, and only to find that the server can only be accessed from the intranet LAN side of the Etec ADSL router, and not from the internet WAN side. can anybody point me to a possible solution, or a good site for....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]