Hello
Why doesn't this rewrite work?
The idea is every request to /mypage from these domains, should be redirect to the main URL /.
What is wrong?
Thanks
Why doesn't this rewrite work?
The idea is every request to /mypage from these domains, should be redirect to the main URL /.
What is wrong?
Thanks
Code:
context /mypage {
allowBrowse 1
rewrite {
enable 1
RewriteCond %{HTTP_REFERER} ^https://www.example.com [NC]
RewriteCond %{HTTP_REFERER} ^https://www.example.org [NC]
RewriteRule ^ / [L,R]
}
addDefaultCharset off
phpIniOverride {
}
}