We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
500 Internal Server Error Something went wrong. Please try your request again
500 Internal Server Error Something went wrong. Please try your request again
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
Re: 500 Internal Server Error Something went wrong. Please try your request again
500 internal server error are the worst to troubleshoot, unless you got server access ;-) and you probably do.
Thus check your:
/var/logs/nginx/domains
/var/logs/apache2/domains
otherwise you can spend weeks in a php and not get any further, while I simple glance at the error logs (can be done from your VestaCP backend too) usually exposes and allows to fix the problem within minutes. Or copy/paste the error here so we can further assist you.
Thus check your:
/var/logs/nginx/domains
/var/logs/apache2/domains
otherwise you can spend weeks in a php and not get any further, while I simple glance at the error logs (can be done from your VestaCP backend too) usually exposes and allows to fix the problem within minutes. Or copy/paste the error here so we can further assist you.