aboutsummaryrefslogtreecommitdiff
path: root/etc/httpd.conf
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-11-16 12:08:41 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-11-16 16:42:40 +0200
commit6eca8a647c79e9a5b100672b55f5d02273a28772 (patch)
tree5361b9007cace2dfdf95c55b009abdcaab1ad60e /etc/httpd.conf
parentba283a252267e0365408db3d6b7cf410edccac1b (diff)
Implement 'about' web page
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