Getting stuck in redirect loop on admin login
This issue has appeared when installing wealthbot.io without vagrant on a local environment
Problem Description
Once the app is installed:
- Go to: http://localhost:8000/admin/login
- And enter username: webo, password: weboDemo32
You are redirected back to http://localhost:8000/admin/login
Background
At the time of composer install while setting the config parameters.
the site domain was 'local.wealthbot.io'
When running project as per symfony, by running the following command php app/console server:run
the app is served at 'localhost:8000'
Solution
- Make sure your Apache conf serves wealthbot on 'local.wealthbot.io'
- In '/etc/php5/cli/php.ini' uncomment
session.save_path
, changesession.use_cookies
1 andsession.secure_cookies
to 1. - And set the permission to app folders
Now the app works without vagrant and Virtual Box.
Updated less than a minute ago