Hello, so I have been trying to block only a directory of a website for a few days now. I want to edit it and make it look like the site is telling the user you cannot view this page on this network; like DNS spoofing, but for a directory only.
I’m not very experienced with Nginx or Apache (in Ubuntu) so I’m not quite sure what my options are.
For an example, I want to block example.com/content/iwantthisblocked but I want everything else to be unblocked or “pass through.”
Can anyone help me with this? It would be very helpful as I do not want to spend the money on an expensive web filter.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.