httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7483] New: - Abitlity to assign an interpreter for a perl, etc script other than using registry or shebang line
Date Tue, 26 Mar 2002 13:12:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7483>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7483

Abitlity to assign an interpreter for a perl, etc script other than using registry or shebang
line

           Summary: Abitlity to assign an interpreter for a perl, etc script
                    other than using registry or shebang line
           Product: Apache httpd-1.3
           Version: 1.3.23
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: Other
         Component: Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: netdemon@netdemonz.com


Hi, I am a developer for Bugzilla and I am using your server to host my test
Bugzilla database http://bugzilla.netdemonz.com/ on Windows XP and have run into
a little problem. I want to use ScriptInterpreterSource Registry and have been
using it for a while. The main reason for this is I do not want to put all the
shebang lines in on perl scripts. Its annoying as heck to do so. This was
especially useful for Bugzilla because I could leave the shebang lines as-is
(for easy diffing). Unfortunately, Bugzilla added a -T to their shebang line.
The scripts for Bugzilla wouldn't run. The problem is that ActivePerl doesn't
let you have a -T in your shebang line when you have the File Association in the
Registry set to not include the -T option (mine only uses -w). I changed the
Registry to -wT, and then the other scripts I had missing the shebang line
wouldn't run.

As a solution to this, I thought about tried this in the htaccess.accf
(htaccess) I have in the Bugzilla directory:
RemoveHandler .pl .cgi
AddHandler cgi-script .cgi
Action cgi-script 	"c:\general\web\tools\perl\bin\perl.exe -wT"

I also tried this:
RemoveHandler .pl .cgi
AddType application/x-cgi .cgi
Action application/x-cgi 	"c:\general\web\tools\perl\bin\perl.exe -wT"

Unfortuntaly, neither worked.

It would be nice to have a "ScriptInterpreterSource handler cgi-script" or
something you could use in the httpd.conf and htacces file to do the similiar
thing to what "ScriptInterpreterSource registry" does, except have Apache
maintain the association.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message