[WEB4LIB] IP Address Detection
Darryl Friesen
Darryl.Friesen at usask.ca
Thu Nov 8 16:49:51 EST 2001
> Anyone know of a quick, cheap, and good way to detect a site
> visitor's IP address and, based on this, direct them to a particular
> page on your site?
Depends totally on your web server and what tools you have available.
This could easily be done with PHP, Perl, Python, or server side includes.
If the server is Apache you could accomplish this with something in the
.htaccess or httpd.conf file, or (probably) with mod_rewrite.
- Darryl
----------------------------------------------------------------------
Darryl Friesen, B.Sc., Programmer/Analyst Darryl.Friesen at usask.ca
Education & Research Technology Services, http://gollum.usask.ca/
Information Technology Services Division,
University of Saskatchewan
----------------------------------------------------------------------
"Go not to the Elves for counsel, for they will say both no and yes"
More information about the Web4lib
mailing list