TurnKey Linux Virtual Appliance Library

Revision control appliance - how to configure mercurial push

Hi guys,

I'm not experienced with Apache, and having trouble properly configuring mercurial push support.  I've done this before with lighttpd, but not Apache.  Can someone recommend the right way to add https push support to the hg hello world repo?

What I've tried so far is to add the following to the conf.d/hg file:

<Location /hg>
    AuthType Basic
    AuthName "Mercury Repositories"
    AuthUserFile /etc/apache2/passwords
    Require valid-user
</Location>
My passwords file is working, and I can clone with authentication successfully.  I can't push though.  The first error I saw was an authorization failure.  I chown'd the /srv/repos directory to www-data:www-data, and got past that initial authorization failure, but am now seeing this (in tortoisehg when trying to push):
(falling back to static-http)
requirement '<body bgcolor="#f0f0f8"><font color="#f0f0f8" size="-5"> -->' not supported
[command interrupted]
 
Also, this is my first foray into a turnkey appliance, so apologies if I'm missing something basic.
 
Thanks for any help,
Dan

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)