Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- PerlLoadModule Apache::Redmine
- <VirtualHost *:80>
- ServerName beast
- DocumentRoot /var/www/redmine/public
- ServerAdmin info@midpoint.lt
- LogLevel warn
- ErrorLog /var/log/apache2/redmine_error
- CustomLog /var/log/apache2/redmine_access combined
- <Directory /var/www/redmine/public>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride None
- Order allow,deny
- allow from all
- </Directory>
- <Directory "/var/www/grack/public">
- Options None
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- Alias /git /var/www/grack/public
- </VirtualHost>
- <Location /svn>
- DAV svn
- SVNParentPath "/srv/svn"
- Order deny,allow
- Deny from all
- Satisfy any
- PerlAccessHandler Apache::Authn::Redmine::access_handler
- PerlAuthenHandler Apache::Authn::Redmine::authen_handler
- AuthType Basic
- AuthName "Redmine SVN Repository"
- #read-only access
- <Limit GET PROPFIND OPTIONS REPORT>
- Require valid-user
- # Allow from redmine.server.ip
- # Allow from another-ip
- # Satisfy any
- </Limit>
- # write access
- <LimitExcept GET PROPFIND OPTIONS REPORT>
- Require valid-user
- </LimitExcept>
- ## for mysql
- RedmineDSN "DBI:mysql:database=redmine;host=localhost"
- ## for postgres
- # RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server"
- ## for SQLite3
- # RedmineDSN "DBI:SQLite:dbname=database.db"
- RedmineDbUser "redmine"
- RedmineDbPass "*"
- </Location>
- <Location "/git">
- PassengerAppRoot /var/www/grack
- # AuthType Basic
- # AuthName "Redmine git repositories"
- # Require valid-user
- # PerlAccessHandler Apache::Authn::Redmine::access_handler
- # PerlAuthenHandler Apache::Authn::Redmine::authen_handler
- ## for mysql
- RedmineDSN "DBI:mysql:database=redmine;host=localhost"
- ## for postgres
- # RedmineDSN "DBI:Pg:dbname=databasename;host=my.db.server"
- ## for SQLite3
- # RedmineDSN "DBI:SQLite:dbname=database.db"
- RedmineDbUser "redmine"
- RedmineDbPass "*"
- RedmineGitSmartHttp yes
- </Location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement