I want to block keyword "import" in any URL, including https websites. Example: http://www.abc.com/import/dfdsf https://xyz.com/import/hdovh

How to create acl to do it? Thanks

acl ofnoimport urlpath_regex /import/
http_access deny ofnoimport

HTTPS might be a bit tricky, given those come through as CONNECT requests...

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.