TurnKey Linux Virtual Appliance Library

Redmine appliance and http access to svn repos

Hi to all!

i'm trying to use latest Redmine appliance from here https://www.turnkeylinux.org/redmine and i dont understand how config or settingup it to use svn repo over http.

When i try to acces over http:// i have problem with Access forbidden. But over svn:// no problem.

Please help me configure them to get access to repos over http

 

My redmine_webaccess.conf:

PerlModule Apache::DBI
PerlOptions +GlobalRequest

PerlLoadModule Apache::Redmine
<Location /svn>
  DAV svn

  SVNAllowBulkUpdates Prefer

  SVNParentPath "/svn/repos/svn"
  Order deny,allow
  Deny from all
  Satisfy any
  LimitXMLRequestBody 0

  SVNPathAuthz off

  PerlAccessHandler Apache::Authn::Redmine::access_handler
  PerlAuthenHandler Apache::Authn::Redmine::authen_handler
  AuthType Basic
  AuthName "Redmine SVN Repository"
  AuthUserFile /dev/null

  # read access
  <Limit GET PROPFIND OPTIONS REPORT>
     Require valid-user
     Allow from all
     Satisfy any
  </Limit>
  # write access
  <LimitExcept GET PROPFIND OPTIONS REPORT>
    Require valid-user
  </LimitExcept>

  RedmineDSN "DBI:mysql:database=redmine_production;host=localhost"

  RedmineDbUser "redmine"
  RedmineDbPass "secret"
</Location>

 

By the way if it matters I changed the location of repos to /svn/repos/svn wich mounted as iscsi

 

thanks in advance!

i think problem in

i think problem in RewriteEngine

need to configure rewrite rules for svn

but i dont know how to properly do this

Jeremy Davis's picture

Sorry for slow reply

And unfortunately, I don't have any easy answer for you. I have never really used SVN so don't have any experience or recommendation.

Perhaps Redmine or SVN themselves (or some kind third party person) have documented it somewhere? If you keep in mind that TurnKey is Debian under the hood and we use Apache as the webserver, then hopefully you can find something relevant and useful via google?

I did find this from a quick google which may be useful? Please note that the TurnKey appliance already includes Apache mod_perl and another called mod_svn but I'm not sure if mod_dav_svn (as mentioned within the link) is the same thing by another name, or if they are totally different...?

If you have any luck, please post back as no doubt others would be interested. In fact, perhaps we could use your research to make the Redmine appliance better in the future?

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)