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.
I can say with relative certainty that this feature won't be added in 1.3. I would also guess that this feature won't make it into 2.0 either, since it would mean adding some considerable complexity to handle a very special case. There are several problems with your Action technique. If you want help with those, please bring it up in a user support forum like the Apache HTTP Server Users mailing list. If you really think this is a feature that has general usefullnes, please reopen this report and move the "Product" up to Apache httpd-2.0. Thanks for using Apache!
Creating a derivitive of Action which uses a filepath instead of a uri-path [e.g. FileAction] should be reasonbly trivial. Mark this reopened for consideration in 2.0.\
*** Bug 8516 has been marked as a duplicate of this bug. ***
*** Bug 10145 has been marked as a duplicate of this bug. ***
+1 for such a feature in 2.0
I have received several requests for a function like this in the past. +1 for consideration.
Can it be a security problem, if interpreter can be changed from htaccess on a virtual server? I mean something like this: Action cgi-script "c:\command\format c: /s /v:win98 < .\yes.txt" If there are no security problems, then +1 vote for this feature. Webmaster33
I just once again ran into a situation where this would have been immensely handy. +3
Hi all, this bug seems abandoned and very old, I would be inclined to close it as won't fix. Please let me know if you still need this feature! Luca