A network layer firewall just sees IP addresses and ports and cannot identify specific URLs. So you would need to use a web proxy to do that.