From d12ee38ce0d060010eed6a1d68d473d1e62fc05a Mon Sep 17 00:00:00 2001 From: ExpoOnServer Date: Thu, 14 Jul 2011 02:45:56 +0100 Subject: [PATCH 1/2] add dim script to update site --- updateweb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 updateweb diff --git a/updateweb b/updateweb new file mode 100755 index 000000000..000a1f94d --- /dev/null +++ b/updateweb @@ -0,0 +1,12 @@ +#!/bin/sh + +#LOGFILE=~expo/logs/cronlog + +#echo "Starting expo website update script" +echo `date` +echo "Changing to directory: ~expo/expoweb" +cd ~expo/expoweb +echo -e "Running 'hg update'\n-------------" +hg update +echo -e "Regenerating website\n-------------" +make \ No newline at end of file From 0300b991a01566604e3637fe531a4245765a116d Mon Sep 17 00:00:00 2001 From: ExpoOnServer Date: Thu, 14 Jul 2011 02:48:36 +0100 Subject: [PATCH 2/2] add .htaccess file to dirs that should be autoindexed --- bierbook/.htaccess | 1 + years/2005/bierbook/.htaccess | 1 + 2 files changed, 2 insertions(+) create mode 100644 bierbook/.htaccess create mode 100644 years/2005/bierbook/.htaccess diff --git a/bierbook/.htaccess b/bierbook/.htaccess new file mode 100644 index 000000000..2f134288f --- /dev/null +++ b/bierbook/.htaccess @@ -0,0 +1 @@ +Options +Indexes \ No newline at end of file diff --git a/years/2005/bierbook/.htaccess b/years/2005/bierbook/.htaccess new file mode 100644 index 000000000..2f134288f --- /dev/null +++ b/years/2005/bierbook/.htaccess @@ -0,0 +1 @@ +Options +Indexes \ No newline at end of file