On Tue, Jan 19, 2010 at 5:01 AM, Abhishek Singh <[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
-- 
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]

Reply via email to