aboutsummaryrefslogtreecommitdiff
path: root/etc/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/httpd.conf')
-rw-r--r--etc/httpd.conf13
1 files changed, 11 insertions, 2 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf
index ef8cb50..bf1d9e2 100644
--- a/etc/httpd.conf
+++ b/etc/httpd.conf
@@ -56,6 +56,14 @@ LoadModule package_version_search_srv ${AP_MODULE_DIR}/libbrep-apache.so
package-version-search-conf "${AP_CONFIG_DIR}/package-version-search.conf"
</IfModule>
+LoadModule package_version_details_srv ${AP_MODULE_DIR}/libbrep-apache.so
+
+<IfModule package_version_details_srv>
+ package-version-details-db-host ${AP_DB_HOST}
+ package-version-details-db-port ${AP_DB_PORT}
+ package-version-details-conf "${AP_CONFIG_DIR}/package-version-details.conf"
+</IfModule>
+
<LocationMatch ^/$>
SetHandler package-search
</LocationMatch>
@@ -64,8 +72,9 @@ LoadModule package_version_search_srv ${AP_MODULE_DIR}/libbrep-apache.so
SetHandler package-version-search
</LocationMatch>
-# Location for package version details url
-#<LocationMatch ^/go/[^/]+/[^/]+$>
+<LocationMatch ^/go/[^/]+/[^/]+$>
+ SetHandler package-version-details
+</LocationMatch>
ExtendedStatus On