On 01/26/2010 01:24 PM, Christian Johansen wrote:
On Tue, Jan 26, 2010 at 08:26, Marius Mårnes Mathiesen <[email protected] <mailto:[email protected]>> wrote:

    On Tue, Jan 26, 2010 at 7:45 AM, Christian Johansen
    <[email protected] <mailto:[email protected]>> wrote:

        On Tue, Jan 26, 2010 at 05:28, Abhishek Singh
        <[email protected] <mailto:[email protected]>> wrote:

                      I'm using "localhost" as the value for
            gitorious_host in the gitorious.yml file. So I assume
            cookie should be properly set. But even though I'm unable
            to log in.


        For what it's worth, I've had trouble using localhost for
        hosting gitorious in the past. I guess it probably shouldn't
        matter, but try to use something like gitorious.local. Maybe
        Marius can shed some light on whether this is has any
        significance.


    Apparently, it does.
    RFC 2109: http://www.ietf.org/rfc/rfc2109.txt states that a HTTP
    user agent (aka. browser) should reject cookies with a domain
    specification that does not contain an embedded dot:

        A Set-Cookie with Domain=.com or Domain=.com., will always be
        rejected, because there is no embedded dot.


    Obviously, this is to prevent someone from issuing a domain that
    should be valid for any hostname under ".com". Different browsers
    seem to handle this differently, but the safest bet is probably to
    go with the RFC here and use something that contains a dot under
    gitorious_host in gitorious.yml.

    On a side note, using .local as the "domain part" of the host may
    confuse Avahi/Zeroconf/Bonjour settings which use the same suffix
    for local hostnames. I use ".here" - so my gitorious_host is
    gitorious.here.


Ah, to the specs, great work! Didn't think about those local hostnames, it was just a quick example. Anyway, thanks for clearing that up, I'll update the instructions so we can avoid this issue in the future.

Christian


    Cheers,
    - Marius
-- To post to this group, send email to [email protected]
    <mailto:[email protected]>
    To unsubscribe from this group, send email to
    [email protected]
    <mailto:gitorious%[email protected]>




--
MVH
Christian
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
Thanks Christian and Maurius. Now i'm able to log in. After logging in, I added my ssh key, create a project and a repository within the project. The creation of repository is taking a long time and it doesn't give me a failure or error message. Also that i tried creating a local repo, do some commit, add the remote head, and then push, which fails as saying:

fatal: '/mumbo-jumbo/mainline.git' does not appear to be a git repository

fatal: The remote end hung up unexpectedly


Any idea why gitorious is taking so long to create the repo? How to solve this problem. I really appreciate your support.

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