Advertisement
Guest User

Redmine Configuration

a guest
Aug 10th, 2012
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.19 KB | None | 0 0
  1. <IfDefine SVN>
  2. LoadModule dav_svn_module modules/mod_dav_svn.so
  3.  
  4. <IfDefine SVN_AUTHZ>
  5. LoadModule authz_svn_module modules/mod_authz_svn.so
  6. </IfDefine>
  7.  
  8. <VirtualHost *:80>
  9. ServerName yyy.xxx.dk
  10.  
  11. RewriteEngine On
  12. RewriteCond %{HTTPS} off
  13. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  14. </VirtualHost>
  15.  
  16. <VirtualHost *:443>
  17. ServerName yyy.xxx.dk
  18. DocumentRoot /var/www/localhost/htdocs
  19.  
  20. <Directory "/var/www/localhost/htdocs">
  21. SSLRequireSSL
  22. Options FollowSymLinks
  23. Order allow,deny
  24. Allow from all
  25. </Directory>
  26.  
  27. SSLEngine on
  28. SSLCertificateFile /etc/ssl/private/xxx.crt
  29. SSLCertificateKeyFile /etc/ssl/private/xxx.key
  30. SSLOptions StrictRequire
  31. SSLProtocol all -SSLv2
  32.  
  33. PerlLoadModule Apache::Redmine
  34.  
  35. <Location />
  36. DAV svn
  37. SVNParentPath /var/svn
  38.  
  39. Order deny,allow
  40. Deny from all
  41. Satisfy any
  42.  
  43. PerlAccessHandler Apache::Authn::Redmine::access_handler
  44. PerlAuthenHandler Apache::Authn::Redmine::authen_handler
  45.  
  46. AuthType Basic
  47. AuthName "xxx"
  48.  
  49. <Limit GET PROPFIND OPTIONS REPORT>
  50. Require valid-user
  51. Allow from xxx.xx.xxx.xx
  52. Satisfy any
  53. </Limit>
  54.  
  55. <LimitExcept GET PROPFIND OPTIONS REPORT>
  56. Require valid-user
  57. </LimitExcept>
  58.  
  59. RedmineDSN "DBI:mysql:database=redmine;host=localhost"
  60. RedmineDbUser "redmine"
  61. RedmineDbPass "xxxx"
  62. </Location>
  63. </VirtualHost>
  64. </IfDefine>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement