summaryrefslogtreecommitdiff
path: root/configure_apache.sh
diff options
context:
space:
mode:
authoreinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 22:05:45 +0000
committereinhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46>2007-03-17 22:05:45 +0000
commit55916a5ab936d0cc4b88ad4f960cf1f81db0e355 (patch)
tree7d7586556620101581c22233e302cc7ab5ee5ee4 /configure_apache.sh
parentf75a804b1335e3373548a015b2be74438310fb72 (diff)
Renaming the Apache configuration script
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/branches/1.2@935 4979c152-3d1c-0410-bac9-87ea11338e46
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."