Redirect traffic from specific IP address to different index page

Hi,

I’m moving my simple static site over to Netlify from shared hosting and am trying to setup some redirects that I had in htaccess. Essentially, I was redirecting any traffic from a specific IP address to a different index page, see below for the snippet -

RewriteEngine On
RewriteCond %{REMOTE_ADDR} ^123\.45\.67\.890
RewriteRule ^(.*)$ https://www.website.com/otherpage.html [R=301,L]

Any ideas on how/if I can implement this in Netlify? Thanks!

Hiya @dmcleod!

Not possible today, but will be unlocked with the release of edge handlers, which you can sign up here for notification when access opens:

https://www.netlify.com/products/edge/edge-handlers/