How do I issue JS Challenge for every page under a certain directory

What is the name of the domain?

What is the issue you’re encountering

Hi, I’m trying to block bots from accessing pages from a certain directory on my website that’s been causing constant outage if I don’t Under Attack mode enabled. the pages in question are under /my-calendar/, I’ve managed to block them from accessing the main page but I can’t seem to block them from every every page in that directory unless I add it manually.

What is the current SSL/TLS setting?

Full

A firewall rule with this expression and challenge of your choice

(starts_with(http.request.uri.path, "/my-calendar/"))

You currently have no encryption. This needs to be Full Strict.

1 Like

That worked, thanks!

I’ve also changed the encryption to Full Strict, thanks again!

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.