On 01/19/2010 01:33 PM, Marius Mårnes Mathiesen wrote:
On Tue, Jan 19, 2010 at 5:01 AM, Abhishek Singh <[email protected] <mailto:[email protected]>> wrote:

                 Setting gitorious_host to git.local should not be a
    problem because I have added an entry to /etc/hosts for git the
    local which corresponds to the localhost (or 127.0.0.1).


Well, this is a cookie issue, not a connectivitiy issue. The browser will not accept cookies for other hostnames than it is connected to.

    The paradox is that the machine is able to ping git.local but
    gitorious is trying to use https and hence it is unable to find
    anything at https://git.local/login. Is there any solution for
    this? Thanks.


Installing and enabling SSL on the server is the recommended approach, as usernames/passwords are sent to the server in clear text otherwise. For testing purposes, you may use a self signed certficate. If this is not an option, you will have to disable the ssl requirement in Gitorious. If you enter

SslRequirement.disable_ssl_check = true

into config/environments/production.rb and restart the server, SSL should no longer be required.

HTH,
- Marius
Hi Marius,
Thanks for you suggestion. Disabling SSL did work. Now I'm able to see the login page. But whenever I login, I'm redirected to the main page of gitorious and login does not work. Any ideas on what's causing this error and how to solve it?

Thank You.

--
Abhishek Singh
FOSS Nepal Community
http://wiki.fossnepal.org

-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to