Well, on what little I have running, mod_perl serves up the pages much faster. 
So I like that and the answer is I don't know.

Right now, I feel the issue is with encoding. I have applied an Apache 
directive to use UTF-8 but that made no difference.

Fraser
  ----- Original Message ----- 
  From: Todd Rinaldo 
  To: Houston.pm located in Houston, TX. 
  Sent: Saturday, February 01, 2014 11:53 AM
  Subject: Re: [pm-h] Windows Shebang


  Bottom line if you're planning on using your production on Linux without 
modperl, it is dangerous for you to do modperl during development. You're 
effectively developing oranges and using them as apples in production. Do you 
plan to convert your production to modperl?

  On Saturday, February 1, 2014, Fraser Baker <[email protected]> wrote:

    Thanks Todd, but I am now knee deep in this conversion. Problems remain and 
looking at this error message

    [Sat Feb 01 11:40:22 2014] [error] Undefined subroutine 
&ModPerl::ROOT::ModPerl::Registry::D_3a_www_wc_2dadmin_2ecom_cgi_2dbin_minda_admin_departments_cam_2ecgi::GetCookies
 called at D:/www/wc-admin.com/cgi-bin/minda/admin_departments_cam.cgi line 
12.\n

    I am thinking that there is an issue with the encoding. I would have 
thought that _3a should have been written as %3a and that the lone underscores 
should be written as a slash. Anyone concur? I have added <meta 
http-equiv="Content-Type" content="text/html;charset=UTF-8">
    to the head of the document. No change.

    Should this be managed in Apache? If so, how?

    Fraser

    ----- Original Message ----- From: "Todd Rinaldo" <[email protected]>
    To: "Houston. pm located in Houston TX." <[email protected]>
    Sent: Friday, January 31, 2014 11:14 PM
    Subject: Re: [pm-h] Windows Shebang


    I’ll be honest. I’d not wish mod perl on you. I suspect an alternate and 
more easily solution is to find a way to get .cgi files to be set to always run 
a binary. At least way back when that was an option in apache config files. If 
we can prod Mr. Lightsey hard enough, he can probably answer that question.

    Todd

    On Jan 31, 2014, at 12:44 PM, Fraser Baker <[email protected]> wrote:


      As always, it is a learning experience that shows how little I really 
know about Perl, but I am surprised that no one piped up saying that to achieve 
my goal, I needed to be running mod_perl.

      Anyway mod_perl is now running and I am up against another issue. I have 
really tried hard to resolve it but I am stumped. The Apache error is

      [Fri Jan 31 12:35:39 2014] [error] Undefined subroutine 
&ModPerl::ROOT::ModPerl::Registry::D_3a_www_wc_2dadmin_2ecom_cgi_2dbin_minda_admin_departments_2ecgi::GetCookies
 called at D:/www/wc-admin.com/cgi-bin/minda/admin_departments.cgi line 17.\n


      It looks to me that the mod_perl path to GetCookies is incomplete. OK, 
what do I need to do to complete it? GetCookies is in one of my own libraries. 
I have several of my own libraries, so resolving this should lead to a 
resolution to my other "Undefined subroutine" issues.

      Fraser

      ----- Original Message ----- From: "Mike Flannigan" <[email protected]>
      To: <[email protected]>
      Sent: Wednesday, January 29, 2014 6:01 PM
      Subject: Re: [pm-h] Windows Shebang




        I'm afraid I know next to nothing about mod_perl.

        I checked and my scripts run with or without that
        shebang you supply or any other shebang.  My build
        is from ActiveState.


        Mike


        On 1/29/2014 4:13 PM, Fraser Baker wrote:

          I now understand that I need to install mod_perl. However, mod_perl 
does not appear to be available as the downloads I have visited cannot be 
found?? Any comments?

          Fraser

          ----- Original Message ----- From: "Fraser Baker" 
<[email protected]>
          To: "Houston.pm located in Houston, TX." <[email protected]>
          Sent: Wednesday, January 29, 2014 6:59 AM
          Subject: Re: [pm-h] Windows Shebang



            Thanks.

            That is what I have been led to believe, but when I remove the 
"Windows" shebang from the first line, which is

            #!c:/perl/bin/perl.exe

            the script fails.

            The path to Perl is OK. I linked *.cgi file types to Perl.exe. What 
else do I need to do or not do?

            Fraser

            ----- Original Message ----- From: "Mike Flannigan" 
<[email protected]>
            To: <[email protected]>
            Sent: Wednesday, January 29, 2014 6:27 AM
            Subject: Re: [pm-h] Windows Shebang



    _______________________________________________
    Houston mailing list
    [email protected]
    http://mail.pm.org/mailman/listinfo/houston
    Website: http://houston.pm.org/ 
    _______________________________________________
    Houston mailing list
    [email protected]
    http://mail.pm.org/mailman/listinfo/houston
    Website: http://houston.pm.org/



  -- 
  Todd Rinaldo
  [email protected]



------------------------------------------------------------------------------


  _______________________________________________
  Houston mailing list
  [email protected]
  http://mail.pm.org/mailman/listinfo/houston
  Website: http://houston.pm.org/
_______________________________________________
Houston mailing list
[email protected]
http://mail.pm.org/mailman/listinfo/houston
Website: http://houston.pm.org/

Reply via email to