Getting stuck in redirect loop on admin login

This issue has appeared when installing without vagrant on a local environment

Problem Description

Once the app is installed:

  1. Go to: http://localhost:8000/admin/login
  2. And enter username: webo, password: weboDemo32

You are redirected back to http://localhost:8000/admin/login


At the time of composer install while setting the config parameters.
the site domain was ''

When running project as per symfony, by running the following command php app/console server:run the app is served at 'localhost:8000'


  1. Make sure your Apache conf serves wealthbot on ''
  2. In '/etc/php5/cli/php.ini' uncomment session.save_path, change session.use_cookies 1 and session.secure_cookies to 1.
  3. And set the permission to app folders

Now the app works without vagrant and Virtual Box.