help with content filtering

hi,

i need to block contents like www.facebook.com/tests

using the below command

/ip firewall filter
add chain=forward action=reject reject-with=tcp-reset protocol=tcp content=“Host: www.facebook.com

i am able to block the whole facebook site but if i try to enter

/ip firewall filter
add chain=forward action=reject reject-with=tcp-reset protocol=tcp content=“Host: www.facebook.com/tests

the same doesnt work

how the same can be achieved without using proxy.

Regards

Dear senthilnaidu,
Please try with :

/ip firewall filter
add chain=forward action=reject reject-with=tcp-reset protocol=tcp content="www.facebook.com/tests"