diff options
author | Petter Reinholdtsen <pere@hungry.com> | 2006-08-29 10:35:12 +0000 |
---|---|---|
committer | Petter Reinholdtsen <pere@hungry.com> | 2006-08-29 10:35:12 +0000 |
commit | 0387250fed7d51f0cdc16d240e3467461bdb942d (patch) | |
tree | 0d818242088f9632c772b2821dc343df5130e5d7 | |
parent | e20d16c84b83b2af2e00af21ce9d5ea626b6b0cb (diff) | |
download | sitesummary-0387250fed7d51f0cdc16d240e3467461bdb942d.tar.gz sitesummary-0387250fed7d51f0cdc16d240e3467461bdb942d.tar.bz2 sitesummary-0387250fed7d51f0cdc16d240e3467461bdb942d.tar.xz |
Prepare to make web pages. Need to figure out the apache config required.
-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/ |