From: Clinton Ebadi Date: Sat, 8 Sep 2012 05:59:48 +0000 (-0400) Subject: Configure suexec X-Git-Tag: debian/2~1 X-Git-Url: https://git.hcoop.net/hcoop/zz_old/debian/hcoop-apache2-config.git/commitdiff_plain/514bea18b9c1894f5ba29316d7169643ebcab701 Configure suexec Setting suexec root to /afs/hcoop.net/user for now since it seems reasonable, but I'm not not sure it's right. --- diff --git a/debian/hcoop-apache2-config.install b/debian/hcoop-apache2-config.install index aeecd1f..7fba822 100644 --- a/debian/hcoop-apache2-config.install +++ b/debian/hcoop-apache2-config.install @@ -1,3 +1,4 @@ files/conf.d/* etc/apache2/conf.d files/apache_in.rules etc/ferm/service.in.d -files/apache_out.rules etc/ferm/service.out.d \ No newline at end of file +files/apache_out.rules etc/ferm/service.out.d +files/www-data.hcoop etc/apache2/suexec \ No newline at end of file diff --git a/debian/rules b/debian/rules index 2ec8094..5a0ef02 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +DEB_DIVERT_EXTENSION =.hcoop +DEB_DIVERT_FILES_hcoop-apache2-config += \ + /etc/apache2/suexec/www-data.hcoop + DEB_DH_INSTALL_CRON_ARGS_DEFAULT = --name=hcoop-apache-sync-logs include /usr/share/cdbs/1/rules/debhelper.mk diff --git a/files/www-data.hcoop b/files/www-data.hcoop new file mode 100644 index 0000000..f2a2995 --- /dev/null +++ b/files/www-data.hcoop @@ -0,0 +1,7 @@ +/afs/hcoop.net/user +public_html/cgi-bin +# The first two lines contain the suexec document root and the suexec userdir +# suffix. If one of them is disabled by prepending a # character, suexec will +# refuse the corresponding type of request. +# This config file is only used by the apache2-suexec-custom package. See the +# suexec man page included in the package for more details.