The script does not seem to follow the below link redirected to an amazon aws link Link:
https://tool.045343768201a7c61ba964fe20f5/
when it follows any other link redirection like from http to https. Any help would be appreciated.
My server settings are fine and i never ever run php in safe mode. The thing is that when curl -L follows redirects, just curl does not but it just gets the html-->
**********************
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="1;url=https://cb-private-bucket.s3-eu-west-1.amazonaws.com/2015/09/15/55f739a9bb7a7.gz?..." />