Block php request to main domain but allow to subdomain

say suppose i have domain https://www.abc.com and subdomain https://xyz.abc.com

I would like to block request ending with .php to abc.com but allow it for xyz.abc.com

any idea how?

Firewall rules

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