Page 1 of 1
website down. http 500
Posted: Wed Nov 02, 2016 10:07 pm
by bowsercloud
I can't access a domain on my vestacp install. I get a http 500 error. All the services are running. Rebooted server. Still won't load. Site is pingable and vesta interface is accessible. It has a letsencrypt certificate for https, set up with the vesta cli.
Re: website down. http 500
Posted: Wed Nov 02, 2016 11:22 pm
by bowsercloud
I've narrowed it down to a problem with the https. If I disable the .htaccess https rewrite and go to the http site, it works fine. The https site doesn't work.
Re: website down. http 500
Posted: Thu Nov 03, 2016 7:36 am
by mehargags
what do you have in your .htaccess, please paste here
Re: website down. http 500
Posted: Thu Nov 03, 2016 7:43 am
by bowsercloud
Code: Select all
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Just the usual wordpress and the https redirect
Re: website down. http 500
Posted: Thu Nov 03, 2016 3:35 pm
by mehargags
Did you migrate your WP site recently from another server?
or
Enabled HTTPs recently ?
If so, you need to delete permalinks and let WP create them again :
1. Delete your .htaccess
2. In your WP-Admin ->> Settings ->> Permalinks and set it to DEFAULT ->> Apply
Check and if the URL's work now, set the URLs back to PostName
Re: website down. http 500
Posted: Thu Nov 03, 2016 7:58 pm
by bowsercloud
No. The site was working fine. Only thing that happened was the cron job to update the lets encrypt certificate ran. It had a chmod 755 error.
Re: website down. http 500
Posted: Fri Nov 04, 2016 5:11 am
by mehargags
PM me your domain... I'll check