joshdick / miniProxy

🚨⚠️ UNMAINTAINED! ⚠️🚨 A simple PHP web proxy.
http://joshdick.github.io/miniProxy
GNU General Public License v3.0
860 stars 544 forks source link

Dificult to Use whitelistPatterns #120

Closed Gustavo-FS closed 6 years ago

Gustavo-FS commented 6 years ago

When I try to configure pattern I get the following error

Error: The requested URL was disallowed by the server administrator.

Follow the Pattern I set

$whitelistPatterns = array( "@^https?://([a-z0-9-]+\.)*example\.net@i" );

Is the configuration wrong? Can someone give me an example code with at least two sites in patterm?

appreciate

Gustavo-FS commented 6 years ago

I can find the solution using regex expression for this site

http://buildregex.com/