diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-15 17:48:57 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-09-24 11:23:34 +0200 |
commit | b192a3fcc7875210b3e1f6bd2292022a78c9f0e1 (patch) | |
tree | fb56f7c60405a91483d31ba934b5752ec854dd19 /etc/httpd.conf | |
parent | d09f17fbd7ffd5ea92feeb8aded6c66b1bfa2333 (diff) |
Partial package version detals page implementation
Diffstat (limited to 'etc/httpd.conf')
-rw-r--r-- | etc/httpd.conf | 13 |
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 |