Thanks bathory but it is still not working.
here is my current code now:
#
http_access allow localhost
acl managers src "/etc/squid/managers"
acl whitelist dstdomain -i "/etc/squid/whitelist"
acl youtubelink url_regex -i "/etc/squid/youtubelinks"
acl denyme url_regex -i ^
https://test.myweb.com/denyme.aspx
http_access deny denyme
http_access allow managers
http_access allow whitelist all
http_access allow youtubelink all
http_access deny all
#
Notice that I changed the url into:
https://test.myweb.com/denyme.aspx
That is because that's the format of the actual url. I'm sorry if I don't mentioned earlier because I'm thinking there is no such difference.
I am whitelisting "test.myweb.com" inside the "whitelist" acl so that everything under test.myweb.com will be whitelisted except for "test.myweb.com/denyme.aspx" which I want to blacklist.
Inside "whitelist" acl, we dont define if it is an "http" or "https" so when we put "test.myweb.com", it whitelisted it whether it is an https or http only.
Please help me out.
Thanks,
LA