1

I'm trying to use a .htaccess to Redirect people that are not from a certain IP range.
Redirect is working ok, but I can't figure out how to do both at the same time:
- People within a certain range: access to content
- People outside of this range: get redirected somewhere else

Many thanks for your help

0

1 Answer 1

1

Have you tried mod_rewrite? For example,

http://blog.e-shell.org/25

2
  • looks really great this article. I've never found an article dealing with IP and Rewriting. Many thanks.
    – Warnaud
    Oct 21, 2010 at 12:37
  • Glad it helped. :)
    – dmah
    Oct 22, 2010 at 14:12

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .