This is a discussion on Redirect based on the user's subnet within the Linux Web Servers forums, part of the Web Server and Related Forums category; Is there any clean and simply way to redirect a user based on the incoming subnet? I already have a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Is there any clean and simply way to redirect a user based on the
incoming subnet? I already have a rewrite rule for something else based on the subnet. Can I set another rewrite rule without affecting this one? Or, any other trick that I can do it? |
|
|||
|
YesBalala wrote:
> Is there any clean and simply way to redirect a user based on the > incoming subnet? Define different virtual hosts. Rewriting, or even redirection, is far more complex and error-prone than you need. -- Nick Kew |