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 2002/06/22 10:35:34 UTC

DO NOT REPLY [Bug 10145] New: - ShebangAlias config directive - to keep to make CGI scripts more portable

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=10145>.
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=10145

ShebangAlias config directive - to keep to make CGI scripts more portable

           Summary: ShebangAlias config directive - to keep to make CGI
                    scripts more portable
           Product: Apache httpd-2.0
           Version: 2.0.39
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: mod_alias
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: webmaster33@bigfoot.com


As I know there is a planned config feature to be able to 
override the shebang line, but as I know there is no any 
result for it, yet:
------------------------------
    * PR#4241: config
      Need to be able to override shebang line to make CGI scripts
      more portable.
        Status: 
AND
    4241 config   suspended Need to be able to override shebang line to make CGI
scripts \
    more portable.
------------------------------

I would suggest a "ShebangAlias" directive for the Apache configuration file.
I don't know if there is already something similar under development, 
but this feature would be very important for those users who would like 
to use their Perl scripts with the least possible modification when they 
are porting their scripts, or are just developing under Windows 
environment, later are running their scripts on Unix server.
This would really help us to make CGI scripts more portable.

Would look like following:
ShebangAlias /usr/local/bin/perl "C:/Perl/bin/perl.exe"

The idea already got a vote on Apache Dev list, so I also post it here.
I hope others will like it, too, especially the Windows users, so they vote for it.

Thanks,
Webmaster33

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