aboutsummaryrefslogtreecommitdiff
path: root/etc/httpd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/httpd.conf')
-rw-r--r--etc/httpd.conf32
1 files changed, 18 insertions, 14 deletions
diff --git a/etc/httpd.conf b/etc/httpd.conf
index 71ac903..ef8cb50 100644
--- a/etc/httpd.conf
+++ b/etc/httpd.conf
@@ -40,30 +40,33 @@ LoadModule authz_host_module /usr/lib64/httpd/modules/mod_authz_host.so
LoadModule expires_module /usr/lib64/httpd/modules/mod_expires.so
LoadModule dir_module /usr/lib64/httpd/modules/mod_dir.so
-LoadModule search_srv ${AP_MODULE_DIR}/libbrep-apache.so
+LoadModule package_search_srv ${AP_MODULE_DIR}/libbrep-apache.so
-<IfModule search_srv>
- search-db-host ${AP_DB_HOST}
- search-db-port ${AP_DB_PORT}
- search-conf "${AP_CONFIG_DIR}/search.conf"
+<IfModule package_search_srv>
+ package-search-db-host ${AP_DB_HOST}
+ package-search-db-port ${AP_DB_PORT}
+ package-search-conf "${AP_CONFIG_DIR}/package-search.conf"
</IfModule>
-LoadModule view_srv ${AP_MODULE_DIR}/libbrep-apache.so
+LoadModule package_version_search_srv ${AP_MODULE_DIR}/libbrep-apache.so
-<IfModule view_srv>
- view-db-host ${AP_DB_HOST}
- view-db-port ${AP_DB_PORT}
- view-conf "${AP_CONFIG_DIR}/view.conf"
+<IfModule package_version_search_srv>
+ package-version-search-db-host ${AP_DB_HOST}
+ package-version-search-db-port ${AP_DB_PORT}
+ package-version-search-conf "${AP_CONFIG_DIR}/package-version-search.conf"
</IfModule>
-<LocationMatch ^/search$>
- SetHandler search
+<LocationMatch ^/$>
+ SetHandler package-search
</LocationMatch>
-<LocationMatch ^/view$>
- SetHandler view
+<LocationMatch ^/go/[^/]+$>
+ SetHandler package-version-search
</LocationMatch>
+# Location for package version details url
+#<LocationMatch ^/go/[^/]+/[^/]+$>
+
ExtendedStatus On
<Location /server-status>
@@ -81,3 +84,4 @@ ExtendedStatus On
DirectoryIndex index.html
TypesConfig /etc/mime.types
+AddOutputFilterByType DEFLATE application/xhtml+xml