Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Comment on

( #3333=superdoc: print w/replies, xml ) Need Help??

Thanks to all who replied. I would have replied earlier, but it has been an insane couple weeks. NB: one or two responders refered to documentation for mod_perl, but as I didn't have mod_perl on the Windows box, I don't use it, and write my basic cgi scripts in perl.

The situation has gotten weirder and weirder.

I had a workstation in which the only drive failed. I replaced the drive, and installed OpenSuse 12.3. I then immediately use the live update to upgrade to OpenSuse 13.1. I then installed all the applications and libraries I normally use, and then tested the install of Apache2. The version of Perl on this machine is 5.18, and Apache is 2.4.6.

Low and behold, everything works: Perl scripts in the cgi-bin directory, php5 scripts anywhere. It was also significantly faster, so, for both reasons, I upgraded the OpenSuse box on which the cgi scripts failed, and this using the same method that I used on the workstation in which I replaced the drive. But, on this machine, the problem persists. It is not executing the cgi scripts. What makes this especially weird is that the configuration files are identical. I do not understand how that can be. Precisely the same apache packages are installed, and the identical set of perl packages are installed, and the configuration files are identical, and yet on the one machine everything works and on the other, the cgi scripts all fail (and yes, the cgi scripts in question are also identical). I think I will have to move this over to the opensuse users group, as I suspect there is something else awry here, unrelated to perl.

Thanks again


In reply to Re: CGI troubles for code that runs on both Windows and OpenSuse Linux 12,3 by ted.byers
in thread CGI troubles for code that runs on both Windows and OpenSuse Linux 12,3 by ted.byers

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and a moth chases the moon...

    How do I use this? | Other CB clients
    Other Users?
    Others examining the Monastery: (4)
    As of 2018-04-20 03:30 GMT
    Find Nodes?
      Voting Booth?