[Fusionforge-commits] FusionForge branch Branch_5_3 updated. 2b65be03bddcfeb701154b550eadab51a2aa58dd

Sylvain Beucler beuc-inria at fusionforge.org
Thu Apr 24 16:15:06 CEST 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".

The branch, Branch_5_3 has been updated
       via  2b65be03bddcfeb701154b550eadab51a2aa58dd (commit)
      from  6eefe42279fab98d073fe336dfe0f8127d8125a3 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2b65be03bddcfeb701154b550eadab51a2aa58dd
Author: Sylvain Beucler <sylvain.beucler at inria.fr>
Date:   Thu Apr 24 16:15:00 2014 +0200

    httpd_log_demux.php: doc fixes: don't suggest storing logs directly in groupdir (symlink attack); note that script will be run as root

diff --git a/src/utils/httpd_log_demux.php b/src/utils/httpd_log_demux.php
index a71f2b2..e36f775 100755
--- a/src/utils/httpd_log_demux.php
+++ b/src/utils/httpd_log_demux.php
@@ -24,11 +24,12 @@
  * Separate logs for each project homepages.
  * Best used with mod_vhost_alias and a shared CustomLog directive.
  * Not creating log directories because of faked hostnames.
+ * Caution: this will be run as root.  Keep it simple.
  */
 
 if (count($argv) < 3) {
 	echo "Usage: {$argv[0]} dir_template project_pregexp\n";
-	echo "   ex: CustomLog \"||{$argv[0]} /home/groups/%/logs/access.log /([-_a-zA-Z0-9]+)\.yourforge\.tld/\" combined\n";
+	echo "   ex: CustomLog \"||{$argv[0]} /home/logs/%/raw/access.log /([-_a-zA-Z0-9]+)\.yourforge\.tld/\" combined\n";
         exit(1);
 }
 $dir_template   = $argv[1];

-----------------------------------------------------------------------

Summary of changes:
 src/utils/httpd_log_demux.php |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
FusionForge



More information about the Fusionforge-commits mailing list