Em 23-05-2011 13:34, ShaneOG escreveu:
I've set up a new Gitorious server using Rodrigo's Chef recipe (https://github.com/rosenfeld/gitorious-cookbooks).

I have two issues that I cannot seem to solve.

*1. gitorious.local*
I ran the Chef recipe with the host set up as "gitorious.local". I then changed it in the /gitorious.yml/ file in both /gitorious_client_host/ and /gitorious_host/ parameters to my final hostname. However, now the emails that come through to me for merge requests and Favourites activity contain the URL*http://gitorious.local*/<project>
The protocol should be HTTPS also, see item 2.

*2. use_ssl: true*
I have use_ssl: true set in my gitorious.yml file. I have created an Apache2 SSL only vhost, and turned off the standard HTTP vhost. Now I can't push to repositories - I get the error "Access denied or wrong repository path". If I turn on the HTTP (port 80) vhost this resolves itself.

I would really appreciate any help with this


Hi Shane, great it worked :)

Actually I need to update the recipe to use 'localhost' for gitorious_client_host instead of the hostname of the machine for making it simple to change the hostname.

Regarding SSL, I guess it is only enabled to some parts of Gitorious. That is why you need the other virtual host in port 80. Or maybe the problem is that the client will try to connect to port 80 instead of 443... I need to investigate first, but can't do it now.

Regarding the e-mails, did you restart the application (touch /var/www/gitorious/tmp/restart.txt) after changing the settings in gitorious.yml?

Regards,

Rodrigo.

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

Reply via email to