diff options
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | apache.conf | 5 |
2 files changed, 9 insertions, 2 deletions
@@ -9,6 +9,7 @@ pkgdatadir = $(datadir)/sitesummary pkgdir = $(libdir)/sitesummary collectordir = $(libdir)/sitesummary/collect.d perldir = $(datadir)/perl5 +pkgvardir = /var/lib/sitesummary INSTALL = install INSTALL_DATA = $(INSTALL) -m 644 @@ -37,8 +38,9 @@ install-server: $(INSTALL) -d $(DESTDIR)/etc/apache2/sites-available/ $(INSTALL_DATA) apache.conf $(DESTDIR)/etc/apache2/sites-available/sitesummary - $(INSTALL) -o www-data -d $(DESTDIR)/var/lib/sitesummary/entries - $(INSTALL) -o www-data -d $(DESTDIR)/var/lib/sitesummary/tmpstorage + $(INSTALL) -o www-data -d $(DESTDIR)$(pkgvardir)/entries + $(INSTALL) -o www-data -d $(DESTDIR)$(pkgvardir)/tmpstorage + $(INSTALL) -d $(DESTDIR)$(pkgvardir)/www install-client: $(INSTALL) -d $(DESTDIR)$(sbindir) diff --git a/apache.conf b/apache.conf index 48954fd..18d7fa5 100644 --- a/apache.conf +++ b/apache.conf @@ -1,3 +1,8 @@ +# +# New URL site/sitesummary/ listing the current statistics, and +# site/cgi-bin/sitesummary-collector.cgi to receive submissions. +# + NameVirtualHost * <VirtualHost *> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ |