cowboy / php-simple-proxy

Simple PHP Proxy: Get external HTML, JSON and more!
http://benalman.com/projects/php-simple-proxy/
GNU General Public License v2.0
538 stars 155 forks source link

403 Forbidden + 404 page not found http errors #6

Open dblackherod opened 13 years ago

dblackherod commented 13 years ago

When called from within a function in production server, access is denied to proxy regardless of chmod settings 644 or 755 as well as .htaccess settings for DirectoryIndex and magic_quote_gpc.

Works perfectly on local server even with magic_quote_gpc on

willcastillo commented 12 years ago

Same behavior...

willcastillo commented 12 years ago

Found the cause of this.

Check your Mod_security settings. You will need to whitelist the domain that is running the script.