Follow-up Comment #2, bug #4648 (project savane):

The problem is more subtle and less critic.
It is not specific to groupedit.php.
It involves multiple alias of the machine.
In the savanna configuration there was an alias of my host (name1.my).
In the grouptype configuration there was a different alias of my host
(name2.my).
The login page was always using the alias in savannah.conf (name1.my) and
setting the cookies for it.
When switching to the project related page (also groupedit.php?group_id=104),
the URL was redirected to the new host, alias name2.my, the cookie was not
found and the login was disappearing.

1. is https://myserver/admin/groupedit.php?group_id=104 really project
related or should the redirection being disabled?

2. the problem will come back when visiting project pages and I see 3
possible solutions:
2a. Say that in group_type/base_host there cannot be aliases of the hostname
in savannah.conf
2b. use the IP address instead of the hostname for the cookies (if the
machine is dual/multiple homed this would not solve the problem)
2c. write the login URL on the left menu using the hostname used in the
request

Another condition due to the same problem:
1. connect using an alias different from the one in 
(e.g. http://name2.my/ )
2. try to log in
3. you'll receive a message like "Cookies must be enabled past this point."

If you used name1.my (the one in savannah.conf) during step 1, everithing was
fine.
Marco

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?func=detailitem&item_id=4648>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Savane-dev mailing list
Savane-dev@gna.org
https://mail.gna.org/listinfo/savane-dev

Reply via email to