[gitorious] Gitorious not routing properly

2010-07-13 Thread porsamini
I have installed gitorious on my local server and when I try to run it
in my browser, I don't see the homepage. Instead I see this page.
http://gitorious.googlegroups.com/web/Screenshot.png?gsc=gBX1HyMAAADOMhiZnZyDYth65yqHUpXnxZWTs-BASaAL-7nwJhPoMK0IoyLhPG2x5smOr2otMGI

Help?

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Gitorious not routing properly

2010-07-14 Thread Marius Mårnes Mathiesen
On Wed, Jul 14, 2010 at 7:42 AM, porsamini wrote:

> I have installed gitorious on my local server and when I try to run it
> in my browser, I don't see the homepage. Instead I see this page.
>
> http://gitorious.googlegroups.com/web/Screenshot.png?gsc=gBX1HyMAAADOMhiZnZyDYth65yqHUpXnxZWTs-BASaAL-7nwJhPoMK0IoyLhPG2x5smOr2otMGI


There's a setting in config/gitorious.yml that specifies whether this is a
public Gitorious installation (look for `public_mode`). If this is set to
false (or unset, I suppose), you won't see much until you log in.

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


RE: [gitorious] Gitorious not routing properly

2010-07-14 Thread Peter Kjellerstedt
> -Original Message-
> From: gitorious@googlegroups.com [mailto:gitori...@googlegroups.com] On
> Behalf Of porsamini
> Sent: den 14 juli 2010 07:42
> To: Gitorious
> Subject: [gitorious] Gitorious not routing properly
> 
> I have installed gitorious on my local server and when I try to run it
> in my browser, I don't see the homepage. Instead I see this page.
> http://gitorious.googlegroups.com/web/Screenshot.png?gsc=gBX1HyMAAADOMhiZnZyDYth65yqHUpXnxZWTs-BASaAL-7nwJhPoMK0IoyLhPG2x5smOr2otMGI
> 
> Help?

It seems you are using the host name git.vinserver.com for your
Gitorious host. This does not work. Here is an explanation from
Marius from a similar discussion (see 
http://groups.google.se/group/gitorious/browse_thread/thread/7d49eef5bd7db619) 
on the list a month ago:

> The problem here is that the git. hostname 
> is reserved for git traffic over HTTP. Gitorious has a special 
> component in app/metal that intercepts all requests to 
> git. and treats these as Git HTTP requests.
> 
> You should either use a different name (eg. gitorious.mydomain.com) 
> or alter HTTP_CLONING_SUBDOMAIN in app/models/site.rb
> 
> Cheers,
> - Marius

//Peter

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Gitorious not routing properly

2010-07-14 Thread Keith Kyzivat
Is there a way that Gitorious could notice this particular situation and
provide some error information, and a recommendation to change the hostname?

On Wed, Jul 14, 2010 at 4:56 AM, Peter Kjellerstedt <
peter.kjellerst...@axis.com> wrote:

> > -Original Message-
> > From: gitorious@googlegroups.com [mailto:gitori...@googlegroups.com] On
> > Behalf Of porsamini
> > Sent: den 14 juli 2010 07:42
> > To: Gitorious
> > Subject: [gitorious] Gitorious not routing properly
> >
> > I have installed gitorious on my local server and when I try to run it
> > in my browser, I don't see the homepage. Instead I see this page.
> >
> http://gitorious.googlegroups.com/web/Screenshot.png?gsc=gBX1HyMAAADOMhiZnZyDYth65yqHUpXnxZWTs-BASaAL-7nwJhPoMK0IoyLhPG2x5smOr2otMGI
> >
> > Help?
>
> It seems you are using the host name git.vinserver.com for your
> Gitorious host. This does not work. Here is an explanation from
> Marius from a similar discussion (see
>
> http://groups.google.se/group/gitorious/browse_thread/thread/7d49eef5bd7db619
> )
> on the list a month ago:
>
> > The problem here is that the git. hostname
> > is reserved for git traffic over HTTP. Gitorious has a special
> > component in app/metal that intercepts all requests to
> > git. and treats these as Git HTTP requests.
> >
> > You should either use a different name (eg. gitorious.mydomain.com)
> > or alter HTTP_CLONING_SUBDOMAIN in app/models/site.rb
> >
> > Cheers,
> > - Marius
>
> //Peter
>
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
>

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Gitorious not routing properly

2010-07-14 Thread Marius Mårnes Mathiesen
On Wed, Jul 14, 2010 at 4:21 PM, Keith Kyzivat  wrote:

> Is there a way that Gitorious could notice this particular situation and
> provide some error information, and a recommendation to change the hostname?
>

Good idea!
We actually did something similar the other day:
http://gitorious.org/gitorious/mainline/commit/d89fa8378b056e9f8edac5fffe93eeae865b1c67

Here we issue warnings if:
- The gitorious_host variable will not work with session cookies
- A user tries to log in to another host name than is specified in
gitorious.yml

I'll try to do it tomorrow, unless someone else wants to take a stab at it.

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Gitorious not routing properly

2010-07-14 Thread Marius Mårnes Mathiesen
On Wed, Jul 14, 2010 at 5:13 PM, Marius Mårnes Mathiesen <
marius.mathie...@gmail.com> wrote:

> On Wed, Jul 14, 2010 at 4:21 PM, Keith Kyzivat  wrote:
>
>> Is there a way that Gitorious could notice this particular situation and
>> provide some error information, and a recommendation to change the hostname?
>
>
I've just committed
http://gitorious.org/gitorious/mainline/commit/3355758fa15af3d3076ee83ec8297f1567443b5d
-
which issues a warning if the http subdomain is used. I also started a page
on the wiki: http://gitorious.org/gitorious/pages/ErrorMessages explaining
error messages one may encounter. Feel free to add your own!

Cheers,
- Marius

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com


Re: [gitorious] Gitorious not routing properly

2010-07-15 Thread Keith Kyzivat
Awesome!  That was fast!
It should cut down on the confusion by new users.


On Thu, Jul 15, 2010 at 2:53 AM, Marius Mårnes Mathiesen <
marius.mathie...@gmail.com> wrote:

> On Wed, Jul 14, 2010 at 5:13 PM, Marius Mårnes Mathiesen <
> marius.mathie...@gmail.com> wrote:
>
>> On Wed, Jul 14, 2010 at 4:21 PM, Keith Kyzivat  wrote:
>>
>>> Is there a way that Gitorious could notice this particular situation and
>>> provide some error information, and a recommendation to change the hostname?
>>
>>
> I've just committed
> http://gitorious.org/gitorious/mainline/commit/3355758fa15af3d3076ee83ec8297f1567443b5d
>  -
> which issues a warning if the http subdomain is used. I also started a page
> on the wiki: http://gitorious.org/gitorious/pages/ErrorMessages explaining
> error messages one may encounter. Feel free to add your own!
>
> Cheers,
> - Marius
>
> --
> To post to this group, send email to gitorious@googlegroups.com
> To unsubscribe from this group, send email to
> gitorious+unsubscr...@googlegroups.com
>

-- 
To post to this group, send email to gitorious@googlegroups.com
To unsubscribe from this group, send email to
gitorious+unsubscr...@googlegroups.com