From 5acd990d337961e9af64254e23cf8a0210773cff Mon Sep 17 00:00:00 2001 From: einhverfr Date: Tue, 6 Feb 2007 07:32:45 +0000 Subject: Changing to install script rather than default location. git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@799 4979c152-3d1c-0410-bac9-87ea11338e46 --- install.sh | 16 ++++++++++++++++ ledger-smb-httpd.conf | 16 ++++++++-------- 2 files changed, 24 insertions(+), 8 deletions(-) create mode 100644 install.sh diff --git a/install.sh b/install.sh new file mode 100644 index 00000000..085e0310 --- /dev/null +++ b/install.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 + +chmod $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." diff --git a/ledger-smb-httpd.conf b/ledger-smb-httpd.conf index daf8a028..3e74f1ea 100644 --- a/ledger-smb-httpd.conf +++ b/ledger-smb-httpd.conf @@ -1,7 +1,7 @@ -Alias /ledger-smb /usr/local/ledger-smb/ +Alias /ledger-smb WORKING_DIR/ledger-smb/ - + AllowOverride All AddHandler cgi-script .pl Options ExecCGI Includes FollowSymlinks @@ -13,32 +13,32 @@ Alias /ledger-smb /usr/local/ledger-smb/ - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All - + Order Deny,Allow Deny from All -- cgit v1.2.3