# Paste the following fragment into your <VirtualHost> section (it is the same # as what you find in the INSTALL file). # # Load the brep module. # <IfModule !brep_module> LoadModule brep_module /home/brep/install/libexec/brep/mod_brep.so </IfModule> # Repository email. This email is used for the From: header in emails # send by brep (for example, build failure notifications). # brep-email admin@example.org # Repository host. It specifies the scheme and the host address (but # not the root path; see brep-root below) that will be used whenever # brep needs to construct an absolute URL to one of its locations (for # example, a link to a build log that is being send via email). # brep-host https://example.org # Repository root. This is the part of the URL between the host name # and the start of the repository. For example, root value /pkg means # the repository URL is http://example.org/pkg/. Specify / to use the # web server root (e.g., http://example.org/). If using a different # repository root, don't forget to also change Location and Alias # directives below. # brep-root /pkg <Location "/pkg"> SetHandler brep <IfModule dir_module> DirectoryIndex disabled DirectorySlash Off </IfModule> </Location> # Brep module configuration. If you prefer, you can paste the contents # of this file here. However, you will need to prefix every option with # 'brep-'. # brep-conf /home/brep/config/brep-module.conf # Static brep content (CSS files). # <IfModule !alias_module> Error "mod_alias is not enabled" </IfModule> # Note: trailing slashes are important! # Alias /pkg/@/ /home/brep/install/share/brep/www/ <Directory "/home/brep/install/share/brep/www"> Require all granted </Directory> # You can also serve the repository files from the repository root. # For example: # # http://example.org/pkg/1/... -> /path/to/repo/1/... # #AliasMatch ^/pkg/(\d+)/(.+) /path/to/repo/$1/$2 # #<Directory "/path/to/repo"> # Require all granted #</Directory>