Advertisement
Guest User

kojiweb.conf

a guest
Jul 14th, 2010
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.99 KB | None | 0 0
  1. Alias /koji "/usr/share/koji-web/scripts/"
  2.  
  3. <Directory "/usr/share/koji-web/scripts/">
  4. # Config for the publisher handler
  5. SetHandler mod_python
  6. # Use kojiweb's publisher (which handles errors more gracefully)
  7. # You can also use mod_python.publisher, but you will lose the pretty tracebacks
  8. PythonHandler kojiweb.publisher
  9.  
  10. # General settings
  11. PythonDebug On
  12. PythonOption SiteName Koji
  13. PythonOption KojiHubURL https://localhost/kojihub
  14. PythonOption KojiWebURL http://localhost/koji
  15. PythonOption KojiReposURL http://localhost/mnt/koji/repos
  16. PythonOption KojiPackagesURL http://localhost/mnt/koji/packages
  17. PythonOption KojiImagesURL http://localhost/mnt/koji/images
  18. PythonOption WebCert /etc/pki/koji2/kojiweb.pem
  19. PythonOption ClientCA /etc/pki/koji2/koji_ca_cert.crt
  20. PythonOption KojiHubCA /etc/pki/koji2/koji_ca_cert.crt
  21.  
  22. PythonOption LoginTimeout 72
  23. # This must be changed before deployment
  24. PythonOption Secret SECRET
  25. PythonPath "sys.path + ['/usr/share/koji-web/lib']"
  26. PythonCleanupHandler kojiweb.handlers::cleanup
  27. PythonAutoReload Off
  28. </Directory>
  29.  
  30. # uncomment this to enable authentication via Kerberos
  31. # <Location /koji/login>
  32. # AuthType Kerberos
  33. # AuthName "Koji Web UI"
  34. # KrbMethodNegotiate on
  35. # KrbMethodK5Passwd off
  36. # KrbServiceName HTTP
  37. # KrbAuthRealm EXAMPLE.COM
  38. # Krb5Keytab /etc/httpd.keytab
  39. # KrbSaveCredentials off
  40. # Require valid-user
  41. # ErrorDocument 401 /koji-static/errors/unauthorized.html
  42. # </Location>
  43.  
  44. # uncomment this to enable authentication via SSL client certificates
  45. <Location /koji/login>
  46. SSLOptions +StdEnvVars
  47. </Location>
  48. # these options must be enabled globally (in ssl.conf)
  49. # SSLVerifyClient require
  50. # SSLVerifyDepth 10
  51.  
  52. Alias /koji-static/ "/usr/share/koji-web/static/"
  53.  
  54. <Directory "/usr/share/koji-web/static/">
  55. Options None
  56. AllowOverride None
  57. Order allow,deny
  58. Allow from all
  59. </Directory>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement