Comments (8)
Something like that is definitely doable and is something I've been planing to build for a while. And I think now is the time to finally start working on it because otherwise people will start thinking that this project is dead when it isn't. I should have something by the end of the week so stay tuned.
from php-proxy-app.
Here you go, finally finished:
https://github.com/Athlon1600/php-proxy/releases/tag/v5.0.4
Just run "composer update" to upgrade your php-proxy version to 5.0.4
from php-proxy-app.
Thanks!!
A dumb question perhaps: how to use? I added BlockList to config.php plugin array, added $config['blocklist.ip_block'] = '192.168.178.*'; but it doesn't appear to work. With a wildcard, all sites get blocked. Without wildcard, the blocking doesn't work. What am I doing wrong?
from php-proxy-app.
plugin itself was probably not enabled.
$config['plugins'] = array(
should have 'BlockListPlugin' in it.
from php-proxy-app.
from php-proxy-app.
192.168.178.1 is your LOCAL IP address. That's not the IP address that is seen from outside your local network. Go to https://www.whatismyip.com/ and use as your IP address.
from php-proxy-app.
from php-proxy-app.
Here is another option for you to try: Instead of "blocklist.ip_allow", use "blocklist.custom":
$config['blocklist.custom'] = function(){
// I think this is how you get local IP
// https://stackoverflow.com/questions/3219178/php-how-to-get-local-ip-of-system
$local_ip = getHostByName(php_uname('n'));
/// return false to BLOCK
if($local_ip == '192.168.178.1'){
return false;
}
return true;
}
from php-proxy-app.
Related Issues (20)
- i use it to proxy mp4 file,but just play a minute,browser show network error
- Getting error when trying to visit this site HOT 1
- can I use soap2day.to
- Advantages when compared to Glype?
- Range support? HOT 1
- I am unable to add plugins
- Using this for a shoutcast proxy is there a way to forward the Ip of the original user?
- new php proxy app demo links
- Form action location append
- client on windows
- The Script Doesn't Handle Pages with charset=gbk
- Project appears to be abandoned, use at your own risk ! HOT 1
- Javascript disabled after One-Click Install
- Modify heads proxy sends // Sync UserAgent HOT 1
- Log requests to a file HOT 2
- Stable PHP version? HOT 1
- How to Deny Access to Specific URL in htaccess? based on IP
- damn tis rtrd just left this repo to die srsly how to u even start it
- graphical issues
- Everything is broked
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from php-proxy-app.