Post Reply 
Block cloudfront but allow xxx.cloudfront
Jul. 28, 2018, 10:01 PM
Post: #1
Block cloudfront but allow xxx.cloudfront
Using ProxHTTPSProxyMII 1.3, I want to block [BLACKLIST] .cloudfront.net, but allow dyw03owr7vs3n.cloudfront.net thru. Where & how do I insert in config.ini for the wanted result?
Thanks, Greg
Add Thank You Quote this message in a reply
Jul. 29, 2018, 06:53 AM
Post: #2
RE: Block cloudfront but allow xxx.cloudfront
I think that you will need to create a regular expression, according to which all the addresses of the .cloudfront.net domain will be blocked except dyw03owr7vs3n.cloudfront.net, and put this regular expression in the [BLACKLIST] section.
Add Thank You Quote this message in a reply
Jul. 29, 2018, 07:19 PM (This post was last modified: Jul. 29, 2018 07:52 PM by charliebrown10242048.)
Post: #3
RE: Block cloudfront but allow xxx.cloudfront
"I think that you will need to create a regular expression, according to which all the addresses of the .cloudfront.net domain will be blocked except dyw03owr7vs3n.cloudfront.net, and put this regular expression in the [BLACKLIST] section."

Perchance you could direct me to or write an example?
(I don't know how to do this....)
Greg

forgot where I was....
I'll re-study Scotts directory & (re)LEARN!!!
Greg
Add Thank You Quote this message in a reply
Jul. 30, 2018, 01:35 AM
Post: #4
RE: Block cloudfront but allow xxx.cloudfront
(Jul. 28, 2018 10:01 PM)charliebrown10242048 Wrote:  Using ProxHTTPSProxyMII 1.3, I want to block [BLACKLIST] .cloudfront.net, but allow dyw03owr7vs3n.cloudfront.net thru. Where & how do I insert in config.ini for the wanted result?
Thanks, Greg

I don't remember MII's routine being that sophisticated.

(Jul. 29, 2018 07:19 PM)charliebrown10242048 Wrote:  forgot where I was....
I'll re-study Scotts directory & (re)LEARN!!!
Greg

Assuming sidki's set with MII, add

Code:
(^dyw03owr7vs3n)*.cloudfront.net/ $USEPROXY(false)$SET(keyword=i_proxy:0.)$RDIR(http://local.ptron/killed.gif)

to Exceptions-U.

HTH
Add Thank You Quote this message in a reply
[-] The following 1 user says Thank You to JJoe for this post:
charliebrown10242048
Post Reply 


Forum Jump: