[Beds] First question of the new year?

Lee Larcombe lee at larcombe.uk-internet.org.uk
Fri Jan 13 20:41:56 GMT 2006


Hi all

Happy New Year!

I have been trying to work out how to redirect a visitor to a website. What
I want to do is redirect them on the basis of the IP address of the
referring page, so:

If they come from anywhere to my site, www.mysite.com they get
www.mysite.com/index.html

If they click on a link to www.mysite.com on a site at 138.250.128.125 they
get www.mysite.com/otherindex.html


It looks like the Apache rewrite module might do this, but I can only find a
way to use it to redirect based on the user's IP, not the referring page.

Any ideas?

Lee





More information about the Beds mailing list