500 Internal Server Error Something went wrong. Please try your request again
Posted: Fri Mar 16, 2018 1:30 am
Hello,
When I do a simple redirect using php header() function, I got en strange error!
PHP code example that caused the error on my server:
<?php
$url = "Any URL that is longer than 6k!";
header("Location: $url");
?>
Please run the PHP code above on your server to see if you will meet the same error. I guess because of PHP setting, NginX setting, Apache setting etc, but I can't solve it.
===============================================================
The error message on response page is:
500
Internal Server Error
Something went wrong. Please try your request again
When I do a simple redirect using php header() function, I got en strange error!
PHP code example that caused the error on my server:
<?php
$url = "Any URL that is longer than 6k!";
header("Location: $url");
?>
Please run the PHP code above on your server to see if you will meet the same error. I guess because of PHP setting, NginX setting, Apache setting etc, but I can't solve it.
===============================================================
The error message on response page is:
500
Internal Server Error
Something went wrong. Please try your request again