Comments on: How to setup hgwebdir with wsgi on Ubuntu Lucid http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/ hacks, researches, thoughts Wed, 27 May 2015 13:32:44 +0000 hourly 1 https://wordpress.org/?v=4.7.4 By: JB http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-147 Mon, 05 Dec 2011 21:47:33 +0000 http://goshawknest.wordpress.com/?p=102#comment-147 Thank you very much. Very straightforward compared to some of the other sites I found. I could not get authentication or push for that matter without going to hgwebdir.wsgi instead of hgweb.

I installed on the non-server distro of Lucid, so it needed apache2, openssh, and of course mod-wsgi.

After some tweaking, everything is working.

]]>
By: Zeno http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-146 Sat, 11 Jun 2011 05:59:36 +0000 http://goshawknest.wordpress.com/?p=102#comment-146 I typically use this snippet to help make my code “directory path agnostic”

https://gist.github.com/1020310

]]>
By: vincenzoampolo7 http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-145 Fri, 25 Feb 2011 15:44:09 +0000 http://goshawknest.wordpress.com/?p=102#comment-145 Thanks Sergio.

Yep i was aware but i didn’t think my article were useful and ranked on google. But it’s starting to have a lot of visits now and i think i’ll update the article with the useful informations about ssl support.

If you already did it and you wanna share that knowledge just send me the new configuration: i’ll be glad to post it 🙂

See ya

]]>
By: vincenzoampolo7 http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-144 Fri, 25 Feb 2011 15:42:43 +0000 http://goshawknest.wordpress.com/?p=102#comment-144 Thanks Tom! 🙂

]]>
By: Sergio http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-143 Fri, 25 Feb 2011 13:23:02 +0000 http://goshawknest.wordpress.com/?p=102#comment-143 Nice post!

Probably you are aware of that but I’ll tell just in case: when you setup apache authentication without SSL, in other words, not using https, your password goes plain in the request.

In that case try not to access your repo from unsecured networks and mainly in geek conferences 😉

Cheers!

]]>
By: Tom Groves http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-142 Fri, 25 Feb 2011 11:16:09 +0000 http://goshawknest.wordpress.com/?p=102#comment-142 Hi Vincenzo,

Great article; saved me a lot of time + hassle! Thanks for taking the time to put this up.

Tom

]]>
By: midnightshow http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-141 Sat, 28 Aug 2010 14:55:17 +0000 http://goshawknest.wordpress.com/?p=102#comment-141 Hey, nice article.

I ran into trouble with this setup. When I enable my mercurial plugin, my trac complains:

IOError: sys.stdin access restricted by mod_wsgi

I know wsgi does not allow access to the stdin and stdout for security reasons, but I don’t anyone complaining about this ?

Have you seen this issue ?

]]>
By: Tomash http://vincenzo-ampolo.net/2010/05/20/how-to-setup-hgwebdir-with-wsgi-on-ubuntu-lucid/#comment-140 Mon, 21 Jun 2010 21:00:36 +0000 http://goshawknest.wordpress.com/?p=102#comment-140 Well, since you’re already hacking in ubuntu 10.04 — any help/tutorial on setting up a D dev stack with GDC and Tango in this distro?
The problem is:
– GDC is included in official repo (this is good actually!)
– ppa d-language-packagers seem to only include libtango-daily-ldc-dev (and official repo only libtango-ldc-dev) and no -gdc version
– no DSSS

]]>