Skip to content

Commit

Permalink
eventual apache alias
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.code.sf.net/p/ledger-smb/code/branches/1.3@4041 4979c152-3d1c-0410-bac9-87ea11338e46
  • Loading branch information
hvierendeels committed Nov 24, 2011
1 parent ed348f0 commit 191b273
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion install.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
#!/bin/sh

#./install.sh myLsmb13_test

CWD=`pwd`
APACHE_ALIAS='ledgersmb'

if [ $# -eq 1 ]
then
APACHE_ALIAS=$1
echo "setting apache alias to $APACHE_ALIAS"
fi


echo "Installing Perl Modules"

Expand All @@ -12,7 +22,8 @@ make

echo "Configuring Apache"

sed "s|WORKING_DIR|$CWD|" ledgersmb-httpd.conf.template > ledgersmb-httpd.conf
#sed "s|WORKING_DIR|$CWD|" ledgersmb-httpd.conf.template > ledgersmb-httpd.conf
sed "s|/ledgersmb|/$APACHE_ALIAS|g;s|WORKING_DIR|$CWD|g" ledgersmb-httpd.conf.template > ledgersmb-httpd.conf

echo "Which user does your web server run as?"
read username
Expand Down

0 comments on commit 191b273

Please sign in to comment.