httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [users@httpd] Redirection based on client IP address
Date Wed, 06 Nov 2002 18:45:13 GMT
Hi All,

I am planning to use mod_rewrite for re-directing based on the client IP
address. However I would like to store the IP address mapping information
in a mySQL database. e.g.

if the IP address is             then re-direct to

I read that mod_rewrite can access a external database to get direction
information. But I am not sure how to do it. If mySQL database is not
possible, even a flat file DB will suffice.

Any good URLs with this info?

Saqib Ali

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message