Joomla 500 server error

If you are facing http 500 error on a Joomla installation on login, make sure following directories have 0775 permissions:

Also make sure that following paths are pointing to correct folders in configuration.php