Open MitchellSingleton opened 8 years ago
The cURL command needs to have the -L switch added so that redirection is followed.
This caused an issue for me when I turned on redirection for my apache instance to redirect all port 80 traffic to port 443.
<VirtualHost *:80> Redirect permanent / https://ipp2sen60.northamerica.cerner.net/
I was getting the HTML output from the 301 permanent redirect.
After adding the "L" switch, the script was able to redirect fine.
The cURL command needs to have the -L switch added so that redirection is followed.
This caused an issue for me when I turned on redirection for my apache instance to redirect all port 80 traffic to port 443.
<VirtualHost *:80> Redirect permanent / https://ipp2sen60.northamerica.cerner.net/
I was getting the HTML output from the 301 permanent redirect.
After adding the "L" switch, the script was able to redirect fine.