[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [800] branches/1.2
- Subject: SF.net SVN: ledger-smb: [800] branches/1.2
- From: ..hidden..
- Date: Mon, 05 Feb 2007 23:34:39 -0800
Revision: 800
http://svn.sourceforge.net/ledger-smb/?rev=800&view=rev
Author: einhverfr
Date: 2007-02-05 23:34:39 -0800 (Mon, 05 Feb 2007)
Log Message:
-----------
Changing to install script rather than default location.
Modified Paths:
--------------
branches/1.2/ledger-smb-httpd.conf
Added Paths:
-----------
branches/1.2/install.sh
Added: branches/1.2/install.sh
===================================================================
--- branches/1.2/install.sh (rev 0)
+++ branches/1.2/install.sh 2007-02-06 07:34:39 UTC (rev 800)
@@ -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."
Modified: branches/1.2/ledger-smb-httpd.conf
===================================================================
--- branches/1.2/ledger-smb-httpd.conf 2007-02-06 07:32:45 UTC (rev 799)
+++ branches/1.2/ledger-smb-httpd.conf 2007-02-06 07:34:39 UTC (rev 800)
@@ -1,7 +1,7 @@
-Alias /ledger-smb /usr/local/ledger-smb/
+Alias /ledger-smb WORKING_DIR/ledger-smb/
-<Directory /usr/local/ledger-smb>
+<Directory WORKING_DIR/ledger-smb>
AllowOverride All
AddHandler cgi-script .pl
Options ExecCGI Includes FollowSymlinks
@@ -13,27 +13,27 @@
</Files>
</Directory>
-<Directory /usr/local/ledger-smb/users>
+<Directory WORKING_DIR/ledger-smb/users>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /usr/local/ledger-smb/bin>
+<Directory WORKING_DIR/ledger-smb/bin>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /usr/local/ledger-smb/utils>
+<Directory WORKING_DIR/ledger-smb/utils>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /usr/local/ledger-smb/spool>
+<Directory WORKING_DIR/ledger-smb/spool>
Order Deny,Allow
Deny from All
</Directory>
-<Directory /usr/local/ledger-smb/LedgerSMB>
+<Directory WORKING_DIR/ledger-smb/LedgerSMB>
Order Deny,Allow
Deny from All
</Directory>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.