Athlon1600 / php-proxy-app

Web Proxy Application built on php-proxy library ready to be installed on your server
https://www.php-proxy.com/
MIT License
823 stars 516 forks source link

How to Deny Access to Specific URL in htaccess? based on IP #222

Open mahmoudadel1999 opened 1 year ago

mahmoudadel1999 commented 1 year ago

How can I send a 403 page error for specific url that exist on the web server? (Using htaccess).

For example , I have a page called https://api.test.arabcoupnat.com/demo. How can a 403 page be shown when accessed and it only opens on a specific IP?