Support Forum
The Forums are a place to find answers on a range of Fortinet products from peers and product experts.
ArifS
Contributor

How to block info.pho page

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

1 REPLY 1
AEK
SuperUser
SuperUser

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
AEK
Announcements
Check out our Community Chatter Blog! Click here to get involved
Labels
Top Kudoed Authors