Forum Discussion
simonbaumann_12
Feb 19, 2013Nimbostratus
I think I got an error in reasoning, let's check it:
https://old.host/content --> redirect to https://new.host, for all IP addresses
https://old.host/content/adminlogin.aspx --> access only for an specified IP range
I got the idea to create such an rule:
when HTTP_REQUEST {
if { not ([HTTP::uri] contains "admin" )}{
HTTP::redirect "https://new.host"
}
}
But thet would ne prevent other hosts to connect to the admin interface. Also, i would not work if the admin itnerface uses content ot the /content directory since that will get redirected. How would you solve such an requirenment? Thanks.