SHARE
TWEET

Untitled

a guest Jun 8th, 2017 495 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <VirtualHost *:80>
  2.         ServerName beast
  3.  
  4.         DocumentRoot /var/www/redmine/public
  5.  
  6.         ServerAdmin info@midpoint.lt
  7.         LogLevel warn
  8.         ErrorLog /var/log/apache2/redmine_error
  9.         CustomLog /var/log/apache2/redmine_access combined
  10.  
  11.         <Directory /var/www/redmine/public>
  12.                 Options Indexes FollowSymLinks MultiViews
  13.                 AllowOverride None
  14.                 Order allow,deny
  15.                 allow from all
  16.         </Directory>  
  17. </VirtualHost>
  18.  
  19. <Location /svn>
  20.      DAV svn
  21.      SVNParentPath "/srv/svn"
  22.      Order deny,allow
  23.      Deny from all
  24.      Satisfy any
  25.  
  26.      PerlAccessHandler Apache::Authn::Redmine::access_handler
  27.      PerlAuthenHandler Apache::Authn::Redmine::authen_handler
  28.      AuthType Basic
  29.      AuthName "Redmine SVN Repository"
  30.  
  31.      #read-only access
  32.      <Limit GET PROPFIND OPTIONS REPORT>
  33.         Require valid-user
  34.         # Allow from redmine.server.ip
  35.         # Allow from another-ip
  36.         # Satisfy any
  37.      </Limit>
  38.      # write access
  39.      <LimitExcept GET PROPFIND OPTIONS REPORT>
  40.        Require valid-user
  41.      </LimitExcept>
  42.  
  43.      ## for mysql
  44.      RedmineDSN "DBI:mysql:database=redmine;host=localhost"
  45.      ## for postgres
  46.      # RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server"
  47.      ## for SQLite3
  48.      # RedmineDSN "DBI:SQLite:dbname=database.db"
  49.  
  50.      RedmineDbUser "redmine"
  51.      RedmineDbPass "*"
  52. </Location>
  53.  
  54. Alias /git /var/www/grack/public
  55. <Location "/git">
  56.         AuthType Basic
  57.          AuthName "Redmine git repositories"
  58.          Require valid-user
  59.  
  60.          PerlAccessHandler Apache::Authn::Redmine::access_handler
  61.          PerlAuthenHandler Apache::Authn::Redmine::authen_handler
  62.  
  63.          ## for mysql
  64.          RedmineDSN "DBI:mysql:database=redmine;host=localhost"
  65.          ## for postgres
  66.          # RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server"
  67.          ## for SQLite3
  68.          # RedmineDSN "DBI:SQLite:dbname=database.db"
  69.  
  70.          RedmineDbUser "redmine"
  71.          RedmineDbPass "*"
  72.          RedmineGitSmartHttp yes
  73. </Location>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top