summaryrefslogtreecommitdiff
path: root/configure_apache.sh
diff options
context:
space:
mode:
Diffstat (limited to 'configure_apache.sh')
-rw-r--r--configure_apache.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure_apache.sh b/configure_apache.sh
new file mode 100644
index 00000000..645bde4b
--- /dev/null
+++ b/configure_apache.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+CWD=`pwd`
+
+sed -i "s|WORKING_DIR|$CWD|"
+
+echo "Which user does your web server run as?"
+read username
+
+chown $username spool templates css
+
+echo "Where do we copy the ledger-smb-httpd.conf file to?"
+read location
+cp ledger-smb-httpd.conf $location
+
+echo "Please restart your web server for the changes to take effect."