Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

check_ganglia_metric.sh doesn't follow redirects #299

Open
MitchellSingleton opened this issue Jul 26, 2016 · 0 comments
Open

check_ganglia_metric.sh doesn't follow redirects #299

MitchellSingleton opened this issue Jul 26, 2016 · 0 comments

Comments

@MitchellSingleton
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant