Skip to main content
ArifS
New Member
November 20, 2025
Solved

How to block info.pho page

  • November 20, 2025
  • 2 replies
  • 292 views

I want to know how to block info.php or any other page through fortiweb. I created access rule and applied to web protection policy but does not seem to be working. Please see the screenshot below. Am I missing missing anything?

 
 

Screenshot 2025-11-20 143224.pngScreenshot 2025-11-20 143137.png

Best answer by ArifS

Hi AEK

Thanks for your information. I did exactly same however there was geo policy which blocking all access.

 

2 replies

AEK
SuperUser
SuperUser
November 20, 2025

Tested in lab and the page has been blocked as expected.

Here is the config:

config waf url-access url-access-rule
edit "uar_test1"
set action alert_deny
config match-condition
edit 1
set reg-exp /info.php
next
end
next
end

config waf url-access url-access-policy
edit "uap_test1"
config rule
edit 1
set url-access-rule-name uar_test1
next
end
next
end

Hope it helps.

AEK
ArifS
ArifSAuthorAnswer
New Member
November 26, 2025

Hi AEK

Thanks for your information. I did exactly same however there was geo policy which blocking all access.