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