You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/12/25 14:48:09 UTC
DO NOT REPLY [Bug 50521] New: Comment at top of sample main config
file is wrong
https://issues.apache.org/bugzilla/show_bug.cgi?id=50521
Summary: Comment at top of sample main config file is wrong
Product: Apache httpd-2
Version: 2.2.16
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Build
AssignedTo: bugs@httpd.apache.org
ReportedBy: apache.bugzilla@catcons.co.uk
The comment at the top of the sample main config file is generated (this sample
from Slackware64 13.1) as:
# ... If the filenames do *not* begin
# with "/", the value of ServerRoot is prepended -- so "/var/log/httpd/foo_log"
# with ServerRoot set to "/usr" will be interpreted by the
# server as "/usr//var/log/httpd/foo_log".
The leading / of both /var strings should not be present.
A possible patch (for 2.1.7, created by "ponce" not me and online at
http://ponce.cc/slackware/testing/other/patches/rel_logfiledir.patch) is
--- httpd-2.2.17/configure.orig 2010-12-25 11:46:47.000000000 +0100
+++ httpd-2.2.17/configure 2010-12-25 11:53:58.000000000 +0100
@@ -3185,7 +3185,8 @@
# it wasn't so return the original
rel_logfiledir="$exp_logfiledir"
fi
-
+# I said strip it
+rel_logfiledir="`echo ${rel_logfiledir} | sed -e 's#^/##'`"
APACHE_VAR_SUBST="$APACHE_VAR_SUBST rel_logfiledir"
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50521] Comment at top of sample main config file
is wrong
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50521
--- Comment #1 from ponce <ma...@gmail.com> 2010-12-25 12:46:22 EST ---
maybe this is more appriopriate?
http://ponce.cc/slackware/testing/other/patches/strip_leading_slash_from_rel_logfiledir.patch
the problem seems to be in the variable keeping a leading path inheriting it
from exp_logfiledir.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
DO NOT REPLY [Bug 50521] Comment at top of sample main config file
is wrong
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=50521
Robby Workman <rw...@rlworkman.net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rw@rlworkman.net
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org