restricring access to https://examplewebsite.com/example

I want to restrict access to specific ips to a file im hosting on apache how would i do so with the firewall?
4 Replies
zegevlier
zegevlier2y ago
You can make a redirect rule to redirect them to a block page (or home page) if IP source address is not in a list you provide Is not in list might work better here
Gustav
GustavOP2y ago
I don't want the whole site being restricted though i just want that path restricted
zegevlier
zegevlier2y ago
Ah forgot to mention that, add an "and" field and there set it to URI path and enter the path you want to block
Gustav
GustavOP2y ago
yeah i just figured that out thanks

Did you find this page helpful?