• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Disabled external URL's / HTTP request failed!

SantiagoA

New Pleskian
Hi!,

I use Parallels Plesk Panel v11.0.9_build110120608.16 os_CentOS 6 on a Dedicated server, I'm the root, and I can change all parameters of the server.

I'm trying to use this php command: readfile('http://www.domain.com');

The external url's are bloqued or disabled, every time I've this warning: PHP Warning: readfile(http://www.domain.com): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found, referer: http://www.domain.com

- The allow_url_fopen parameter is on (I check it with phpinfo() )
- I tried to unblock the firewall ports 80 / 8080 incoming and outgoing calls
- I tried to allow hotlinks with .htacess
- I tried to set ON allow_url_include

Please, what can be the problem?

Thanks!
 
Important date!!

de readfile() command in php don't read URL's on the same server, with the same IP.... If I put a readfile with other external URL works fine

How can I open the read from a domain of the server, to other domain of the same server with the same IP????
Thanks!
 
Back
Top