openbsd-ports/www/mod_gzip/files/gzip-enable
avsm 1a8dbabb03 inital import of mod_gzip-1.3.19.1a
--
mod_gzip transparently compresses the output of apache to
client browsers.  It uses the 'Accept-Encoding' header to
determine whether or not the client browser wants gzipped
content.
2001-07-15 22:52:45 +00:00

14 lines
280 B
Bash

#!/bin/sh
#
# $OpenBSD: gzip-enable,v 1.1.1.1 2001/07/15 22:52:45 avsm Exp $
MODULE=y0y0y0/lib/mod_gzip.so
if [ ! -f ${MODULE} ]; then
echo "can't find GZip module (${MODULE})"
exit 1
else
echo "enabling gzip module..."
/usr/sbin/apxs -i -a -n gzip ${MODULE}
fi