Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d1b0cc1c0804bc3cfe160b791fd4472a4766c966
Ticket: 219313ffffffffffffffffffffffffffffffffff
TclpFindExecutable doesn't work for CGI scripts under Apache
User & Date: nobody on 2000-10-26 05:10:33
Changes

  1. assignee changed to: "nobody"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    OriginalBugID: 3658 Bug
    Version: 8.2.2
    SubmitDate: '1999-11-23'
    LastModified: '2000-10-25'
    Severity: SER
    Status: UnAssn
    Submitter: techsupp
    OS: All Unix
    FixedDate: '2000-10-25'
    ClosedDate: '2000-10-25'
    
    
    Comments:
    I can work around this by adding this code to the proWrapTclMain.c file in the TclPro wrapper sampleApp
    after the call to TclpFindExecutable.
    if (executableName == NULL) {
        executableName = argv0;
    }
    The better place to fix it is inside TclpFindExecutable.
    
    As a work-around, I plan to make new wrapper shells available on www.scriptics.com
    
    ReproducibleScript:
    This bug appears under applications created by TclPro wrapper, but is due to a bug in
    TclpFindExecutable.  To repeat, try any wrapped application as a CGI app under Apache.
    Or, try [info nameofexecutable] in a regular CGI script - you'll get nothing.
    
    ObservedBehavior:
    The wrapped application cannot find itself, so it fails to find its init.tcl wrapped inside itself.
    If you are lucky, init.tcl is found on disk.
    
    DesiredBehavior:
    A wrapped CGI application to work under Apache
    
    
    
    
    
  4. foundin changed to: "obsolete: 8.2.2"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "69. Other"
  10. title changed to:
    TclpFindExecutable doesn't work for CGI scripts under Apache
    
  11. type changed to: "Bug"