diff options
| -rw-r--r-- | Makefile | 3 | ||||
| -rw-r--r-- | apache.conf | 10 | ||||
| -rw-r--r-- | debian/changelog | 1 | ||||
| -rw-r--r-- | debian/sitesummary.install | 1 | 
4 files changed, 15 insertions, 0 deletions
@@ -35,6 +35,9 @@ install-server:  	$(INSTALL_DATA) SiteSummary.pm $(DESTDIR)$(perldir)  	$(INSTALL) $(SUMMARYSCRIPTS) $(DESTDIR)$(pkgdir)/ +	$(INSTALL) -d $(DESTDIR)/etc/apache2/sites-available/ +	$(INSTALL_DATA) apache.conf $(DESTDIR)/etc/apache2/sites-available/sitesummary +  install-client:  	$(INSTALL) -d $(DESTDIR)$(sbindir)  	$(INSTALL) sitesummary-client sitesummary-upload $(DESTDIR)$(sbindir) diff --git a/apache.conf b/apache.conf new file mode 100644 index 0000000..48954fd --- /dev/null +++ b/apache.conf @@ -0,0 +1,10 @@ +NameVirtualHost * +<VirtualHost *> +	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ +	<Directory "/usr/lib/cgi-bin"> +		AllowOverride None +		Options ExecCGI -MultiViews +SymLinksIfOwnerMatch +		Order allow,deny +		Allow from all +	</Directory> +</VirtualHost> diff --git a/debian/changelog b/debian/changelog index 989ea70..b5b5b77 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,7 @@ sitesummary (0.0.5) UNRELEASED; urgency=low    * Add debconf question for sitegroup and host class.    * Collect output from lsusb and lsscsi if they are present.    * Drop wget as dependency for sitesummary-client.  It is no longer used. +  * Include apache2 example configuration.    [ Steffen Joeris ]    * Update debian/copyright file diff --git a/debian/sitesummary.install b/debian/sitesummary.install index ab560d3..72f5ea5 100644 --- a/debian/sitesummary.install +++ b/debian/sitesummary.install @@ -1,3 +1,4 @@ +debian/tmp/etc/apache2  debian/tmp/usr/lib/cgi-bin  debian/tmp/usr/lib/sitesummary/*-summary  debian/tmp/usr/share/perl5  | 
