« Previous Next »

Thread: Issue with cgi files

Last post 11-12-2008 8:45 AM by HostingASPNet. 1 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (2 items)

Sort Posts:

  • 11-11-2008, 11:09 PM

    • simerjots
    • Not Ranked
    • Joined on 07-13-2008, 11:45 PM
    • Posts 3

    Issue with cgi files

    Hey,

     

    I moved a php app from linux over to windows. The problem that I am facing is with the cgi files. The cgi file comes up as not found while they are there.

     

    One of the files content is

    #!/usr/local/bin/perl
    # ==================================================================

    # ==================================================================

    use strict;
    use lib '/var/home/jamaya/mydir.com/cgi-bin/profiles/admin';
    use Links qw/$PLG/;
    use Links::User::Page;

    local $SIG{__DIE__} = \&Links::fatal;

    Links::init('/var/home/jamaya/mydir.com/cgi-bin/profiles/admin');
    Links::init_user();

    if ($PLG->dispatch('check_request', \&Links::check_request)) {
        $PLG->dispatch('handle_page', \&Links::User::Page::handle);
    }
     

     

    Can anyone show me a way, I have Fast CGI installed and php installed no pearl.

     

    Thanks

     

  • 11-12-2008, 8:45 AM In reply to

    Re: Issue with cgi files

    Hello,

    If your Server is 64 bit you could try:

    cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

    Regards

Page 1 of 1 (2 items)
Microsoft Communities