Hi,

It turns out that the git. prefix was caused by a setting in
/home/git/gitorious/app/models/site.rb which has a default sub-domain setup
for HTTP clones.

I couldn't tell if we could easily work around this, so I disabled HTTP
clone for the production environment in config/gitorious.yml
hide_git_clone_urls:  false
hide_http_clone_urls: true

With these changes the URL is showing up properly.

Thank you
-- 
Srđan Đukić

On 20 April 2012 09:04, Srdan Dukic <[email protected]> wrote:

>
> How do I do that? I've restarted the entire server that the application is
> sitting on and it still points to "git.gitorious" instead of just
> "gitorious"
>
> --
> Srđan Đukić
>
>
> On 12 April 2012 23:12, Marius Mårnes Mathiesen <
> [email protected]> wrote:
>
>> Did you restart the script/poller process after setting this value?
>>
>> - Marius
>>
>>
>> On Tue, Apr 3, 2012 at 9:42 PM, Srdan Dukic <[email protected]>wrote:
>>
>>> Hi,
>>>
>>> Thanks for that. Have found that setting, however, it's set to:
>>>
>>> gitorious_host: gitorious.company.internal
>>>
>>> and on the web page it shows up as:
>>>
>>> https://git.gitorious/server-sent-events/server-sent-events.git
>>>
>>> Is there anywhere else that it could be getting this URL from?
>>>
>>> Thank you
>>> --
>>> Srđan Đukić
>>>
>>> On 3 April 2012 21:28, Marius Mårnes Mathiesen <
>>> [email protected]> wrote:
>>>
>>>> On Mon, Apr 2, 2012 at 4:49 AM, Srdan Dukic <[email protected]>wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> I have a local install of Gitorious, which I've inherited after
>>>>> someone else set it up. I've got a user that's complaining that the URL
>>>>> displayed under /server-sent-events is incorrect. It is:
>>>>>
>>>>> https://git.gitorious/server-sent-events/server-sent-events.git
>>>>>
>>>>> When it apparently should be:
>>>>>
>>>>> https://gitorious/server-sent-events/server-sent-events.git
>>>>>
>>>>> I've tried logging into the interface as the administrator and also
>>>>> grepping all of the files in the gitorious directory to try and find where
>>>>> this URL is being set, but haven't had any luck. Also, I can't seem to 
>>>>> find
>>>>> any documentation on the gitorious home page.
>>>>>
>>>>> Where can I change this URL?
>>>>>
>>>>
>>>> Look for `gitorious_host` in config/gitorious.yml.
>>>>
>>>> Cheers,
>>>> - Marius
>>>>
>>>> --
>>>> To post to this group, send email to [email protected]
>>>> To unsubscribe from this group, send email to
>>>> [email protected]
>>>>
>>>  --
>>> To post to this group, send email to [email protected]
>>> To unsubscribe from this group, send email to
>>> [email protected]
>>>
>>
>>
>>
>> --
>> Marius Mårnes Mathiesen
>> Rubyist, Shortcut AS
>> Tel.: (+47) 92 60 95 38.
>>
>> http://shortcut.no
>>
>> --
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>>
>

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

Reply via email to