#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    2
    Rep Power
    0

    Pl scripts are not getting executed.


    Hi,

    We have a html/perl application running in netscape gold server 3.0. I have been asked to move the perl application to iplanet web server 6.0

    I have defined a virtual server in iplanet web server 6.0 and i have moved the code to the new server.

    When I try to run the html page with pl. scripts from browser, the perl scripts are not executing, instead it prompts " Do you want to open or save the file".

    The perl interpreter is defined in individual pl scripts (#!/usr/local/bin/perl5)

    I am new to hosting the perl scripts on unix platform. Please help.

    Thank You,
    Bala
  2. #2
  3. Senior Member
    Devshed Intermediate (1500 - 1999 posts)

    Join Date
    Aug 2003
    Location
    Toronto
    Posts
    1,614
    Rep Power
    17
    Check that the script and the directory it is in has execute permissions.. chmod 755.
    webM

    for $i(0..20){for($j=0;$j<=$i;$j+=2){print pack(qq{H2},
    substr(qq{5f5745424d415354415f},$j,2));}print qq{\n};};
  4. #3
  5. Contributing User
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2003
    Location
    in da kitchen ...
    Posts
    12,869
    Rep Power
    6447
    Are the scripts in a directory configured to serve scripts. That is the directories are known to the webserver to contain cgi scripts?

    HTH
    --Ax
  6. #4
  7. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    2
    Rep Power
    0
    Thank you for your response.

    The permission is set to 775 to the files and directories under cgi-bin.

    These scripts are still working in the old netscape server. I believe there is some configuration issue which i could not able figure out.

    Setting defined in Virtual class server is given below. I couldn't figure out which the *.pl scripts under cgi-bin is not getting executed.

    State On
    Document Root: /u01/iplanet/servers/docs/
    Access Log: /u01/iplanet/servers/https-hd/logs/access
    Error Log: /u01/iplanet/servers/https-hd/logs/error
    ACL Files:
    MIME File: mime.types
    CGI User: root
    CGI Group: other
    CGI Directory: /u01/iplanet/servers/docs/cgi-bin
    CGI Nice:
    Chroot Directory:

IMN logo majestic logo threadwatch logo seochat tools logo