>Number:         2595
>Category:       config
>Synopsis:       Missing a Perl Path change
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          change-request
>Submitter-Id:   apache
>Arrival-Date:   Sat Jul 11 23:50:01 PDT 1998
>Last-Modified:
>Originator:     [EMAIL PROTECTED]
>Organization:
apache
>Release:        1.3.1-dev
>Environment:
Linux viper.webb.dodds.net 2.0.34 #1 Fri May 8 16:05:57 EDT 1998 i586 unknown
Redhat 5.1
>Description:
You are not changing the path of perl for the printenv cgi when installing.
>How-To-Repeat:
Yes
>Fix:
How about a diff!

--- Makefile.tmpl.orig  Sun Jul 12 01:12:05 1998
+++ Makefile.tmpl       Sun Jul 12 01:30:00 1998
@@ -351,6 +347,7 @@
                echo "[PRESERVING EXISTING DATA SUBDIR: 
$(root)$(datadir)/cgi-bin/]"; \
        else \
                echo "Copying tree $(TOP)/cgi-bin/ -> 
$(root)$(datadir)/cgi-bin/"; \
+               sed -e 's;^#!/.*;#!$(PERL);' < $(TOP)/cgi-bin/printenv > 
$(root)$(datadir)/cgi-bin/printenv \
                (cd $(TOP)/cgi-bin/ && $(TAR) cf - *) |\
                (cd $(root)$(datadir)/cgi-bin/ && $(TAR) xf -); \
                find $(root)$(datadir)/cgi-bin/ -type d -exec chmod a+rx {} \; 
; \
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]



Reply via email to