Fire wall rule not work in pages site

my site https://galgamer.eu.org/

i add this test rule
(http.request.uri.path contains “php”) with block
but https://galgamer.eu.org/php (pages site) is no block 。
https://dl.galgamer.eu.org/php (worker site) is block
fire wall rule not work in pages

Can you post what the full rule looks like?

1 Like

Any other Firewall rules?

Is this the 1st rule from above?

Does it contain any other criteria or something more?

I tested on my domain and /php is not blocked, neither /abcdphp, but something.php is blocked using contains "php" - but that’s my VueJS app running on a Firebase hosting.

I use .php in my Firewall Rules to block access to PHP files in some combination of the specific path/directory too.

UPDATE: Ok, contains "php" works for me. I mispelled it wrong in the expression field.

other Firewall rules is turn off now

ok ,know why fire wall not work
cname *.pages.dev must turn on