aboutsummaryrefslogtreecommitdiff
path: root/etc/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/httpd.conf')
-rw-r--r--etc/httpd.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf
index c8405ed..7c25a6d 100644
--- a/etc/httpd.conf
+++ b/etc/httpd.conf
@@ -67,6 +67,14 @@ LoadModule package_version_details_srv ${AP_MODULE_DIR}/libbrep-apache.so
package-version-details-conf ${AP_CONFIG_DIR}/package-version-details.conf
</IfModule>
+LoadModule repository_details_srv ${AP_MODULE_DIR}/libbrep-apache.so
+
+<IfModule repository_details_srv>
+ repository-details-root ${AP_ROOT}/
+ repository-details-db-host ${AP_DB_HOST}
+ repository-details-db-port ${AP_DB_PORT}
+</IfModule>
+
<LocationMatch ^${AP_ROOT}/?$>
SetHandler package-search
</LocationMatch>
@@ -79,6 +87,10 @@ LoadModule package_version_details_srv ${AP_MODULE_DIR}/libbrep-apache.so
SetHandler package-version-details
</LocationMatch>
+<LocationMatch ^${AP_ROOT}/about$>
+ SetHandler repository-details
+</LocationMatch>
+
AliasMatch ^${AP_ROOT}/(.+) ${AP_WWW_DIR}/$1
ExtendedStatus On