I need to let through all calls to urls ending in .php
, but block any calls to urls ending in .ph
.
The simplest seems to be something like (http.request.uri.path eq "*.ph")
but I’m not sure if this syntax is enabled on a PRO account, because it doesn’t seem to work.
What would be the right way to do this?
Is it possible to extract the file extension from an uri, and do eq ".ph"
?
Or first allow all that contains php
and after disallow all that contains ph
?
Any help will be appreciated.