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!

Forum: 

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

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?

Add new comment