[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SF.net SVN: ledger-smb: [799] trunk
- Subject: SF.net SVN: ledger-smb: [799] trunk
- From: ..hidden..
- Date: Mon, 05 Feb 2007 23:32:46 -0800
Revision: 799
http://svn.sourceforge.net/ledger-smb/?rev=799&view=rev
Author: einhverfr
Date: 2007-02-05 23:32:45 -0800 (Mon, 05 Feb 2007)
Log Message:
-----------
Changing to install script rather than default location.
Modified Paths:
--------------
trunk/ledger-smb-httpd.conf
Added Paths:
-----------
trunk/install.sh
Added: trunk/install.sh
===================================================================
--- trunk/install.sh (rev 0)
+++ trunk/install.sh 2007-02-06 07:32:45 UTC (rev 799)
@@ -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: trunk/ledger-smb-httpd.conf
===================================================================
--- trunk/ledger-smb-httpd.conf 2007-02-06 05:58:51 UTC (rev 798)
+++ trunk/ledger-smb-httpd.conf 2007-02-06 07:32:45 UTC (rev 799)
@@ -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,32 +13,32 @@
</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/templates>
+<Directory WORKING_DIR/ledger-smb/templates>
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.