retrieving restricted IP from database for apache2
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > retrieving restricted IP from database for apache2




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    retrieving restricted IP from database for apache2  
daugavpils@gmail.com


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-22-07 12:23 AM

Hi ,

I want to make Apache2 check user IP on the fly and restrict access if
IP does not match existing client (and redirecting to a page explaining
why has it happened) .There is no problem with dynamic DNS since all
clients are expected to use static IPs.Ideally I would like to keep IPs
in the  external mysql database and query it every time request comes
because we use this list for several servers.I checked this  newsgroup
and Googled but could not find that anyone has done it.
Has anybody done it ?Or maybe I can find more elegant solution?

thank you in advance
Sergei






[ Post a follow-up to this message ]



    Re: retrieving restricted IP from database for apache2  
Mark


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-22-07 12:21 PM

daugavpils@gmail.com wrote in news:1169408040.597631.282710
@m58g2000cwm.googlegroups.com:

> Hi ,
>
>  I want to make Apache2 check user IP on the fly and restrict access if
> IP does not match existing client (and redirecting to a page explaining
> why has it happened) .There is no problem with dynamic DNS since all
> clients are expected to use static IPs.Ideally I would like to keep IPs
> in the  external mysql database and query it every time request comes
> because we use this list for several servers.I checked this  newsgroup
> and Googled but could not find that anyone has done it.
> Has anybody done it ?Or maybe I can find more elegant solution?
>
> thank you in advance
> Sergei
>
>

Do you have access to the httpd.conf? If so then you can do it with the
Allow/Deny from statements in a <Directory> container. It wouldn't be in
a SQL database, but in a text file.




--

----== Posted via webservertalk.com - Unlimited-Unrestricted-Secure Usenet N
ews==----
http://www.webservertalk.com The #1 Newsgroup Service in the World! 120,000+
 Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:27 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register