What does the web server log file say that the problem is.  The web server
log should contain something much more useful than a 500 error...

I am guessing that you are getting an "insecure dependency" or some type of
error like that when you run it via the web server....


brent



                                                                                       
                            
                    "Ted                                                               
                            
                    Markowitz"           To:     <[EMAIL PROTECTED]>              
                            
                    <cognosys@yah        cc:                                           
                            
                    oo.com>              Subject:     Using -T (taint) in perl scripts 
on Win32                    
                                                                                       
                            
                    03/01/02                                                           
                            
                    11:11 AM                                                           
                            
                    Please                                                             
                            
                    respond to                                                         
                            
                    "Ted                                                               
                            
                    Markowitz"                                                         
                            
                                                                                       
                            
                                                                                       
                            




    I'm having difficulty using the -T switch with perl in the #! line in
    cgi scripts on my Win2K system using a Netscape 4.1 web server. If I
    use something like "#!c:/perl/bin/perl.exe -wT" on the 1st line, the
    server complains with an HTTP 500 error about the script not producing
    valid headers. However, when I edit the script to remove the -T, it
    runs fine. Also, when I run it via the command line with "perl -wT
    foo.cgi", it compiles correctly and produces valid HTML with no errors.

    I've tried this both with and without setting the Windows file
    association for .CGI to be "perl -wT %1 %*", which works again from the
    command-line just fine. Any ideas or pointers?

    Thanks.

    --ted
    +===================================================
    | T e d   M a r k o w i t z
    | Chief Architect, Cognosys LLC
    | 10 Hamilton Lane, Darien, CT 06820-2809
    |
    | 203.984.6565 (phone)    | 203.655.7746 (fax)
    | mailto:[EMAIL PROTECTED] | http://www.cognosys.net
    | TJMarkowitz (AIM)
    +===================================================


     --
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    For additional commands, e-mail: [EMAIL PROTECTED]








-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to