Package: hcoop-apache2-config
Architecture: all
Depends: libapache2-mod-waklog, apache2-mpm-prefork, apache2.2-common,
- apache2-suexec-custom, libapache2-mod-suphp, ${misc:Depends}
+ apache2-suexec-custom, libapache2-mod-suphp,
+ libapache2-mod-auth-kerb, ${misc:Depends}
Description: Configuration for HCoop/Domtool Apache
Configuration bits required for apache to operate as a user web node
controlled by domtool.
files/apache_out.rules etc/ferm/service.out.d
files/www-data.hcoop etc/apache2/suexec
files/suphp.conf.hcoop etc/suphp
-files/mods-available/suphp.conf.hcoop etc/apache2/mods-available
\ No newline at end of file
+files/mods-available/* etc/apache2/mods-available
\ No newline at end of file
# the debian-policy package
-HCOOP_APACHE_MODULES="dav dav_fs dav_lock proxy proxy_http rewrite suexec suphp waklog"
+# make sure to keep in sync with prerm
+HCOOP_APACHE_MODULES="auth_kerb cache dav dav_fs dav_lock disk_cache expires include mime_magic negotiation proxy proxy_http rewrite ssl status suexec suphp waklog"
case "$1" in
configure)
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
-
-HCOOP_APACHE_MODULES="dav dav_fs dav_lock rewrite suexec suphp waklog"
+HCOOP_APACHE_MODULES="auth_kerb cache dav dav_fs dav_lock disk_cache expires include mime_magic negotiation proxy proxy_http rewrite ssl status suexec suphp waklog"
case "$1" in
remove|purge)
DEB_DIVERT_FILES_hcoop-apache2-config += \
/etc/apache2/suexec/www-data.hcoop \
/etc/suphp/suphp.conf.hcoop \
- /etc/apache2/mods-available/suphp.conf.hcoop
+ /etc/apache2/mods-available/suphp.conf.hcoop \
+ /etc/apache2/mods-available/status.conf.hcoop
DEB_DH_INSTALL_CRON_ARGS_DEFAULT = --name=hcoop-apache-sync-logs
--- /dev/null
+<IfModule mod_include.c>
+ AddType text/html .shtml
+ AddOutputFilter INCLUDES .shtml
+</IfModule>
\ No newline at end of file
--- /dev/null
+<IfModule mod_status.c>
+#
+# Allow server status reports generated by mod_status,
+# with the URL of http://servername/server-status
+# Uncomment and change the "192.0.2.0/24" to allow access from other hosts.
+#
+<Location /server-status>
+ SetHandler server-status
+ Order allow,deny
+ Allow from all
+# Deny from all
+# Allow from 127.0.0.1 ::1
+# Allow from 192.0.2.0/24
+</Location>
+
+# Keep track of extended status information for each request
+ExtendedStatus On
+
+# Determine if mod_status displays the first 63 characters of a request or
+# the last 63, assuming the request itself is greater than 63 chars.
+# Default: Off
+#SeeRequestTail On
+
+
+<IfModule mod_proxy.c>
+ # Show Proxy LoadBalancer status in mod_status
+ ProxyStatus On
+</IfModule>
+
+
+</IfModule>
\ No newline at end of file