bennierounder:

I'm not a web developer, so I'll grasp at a few straws.

Things I've tried:

From that, it appears to me that you need an "index.html" page. I'd suggest trying something trivial like:

<html> <head> <title>CHEESY INDEX PAGE</title></head> <body> And here's a link to <a href="http://protechflooring.co.uk/cgi-bin/boink.pl">a page that +doesn't exist</a> as well as a link to <a href="http://protechflooring.co.uk/cgi-bin/perl_script.pl">the sc +ript you have</a> </body> </html>

Since you're getting a 500 error on the perl script, either the web server is misconfigured somehow, or the script is encountering an error while running. So let's try putting a totally simple perl script there to see if it will work. So we want the simplest possible thing. Perhaps just printing something, and nothing else, like this:

#!/usr/bin/perl print "Content-type: text/html\n\n"; print "NOTHING TO SEE HERE!\n";

I used the path /usr/bin/perl, as it looks like it should be either that or /usr/local/bin/perl depending on how I should interpret the dialog near the beginning.

So if it were me, I'd upload the index.html page and the script above into cgi-bin as boink.pl. Then I'd try to hit http://protechflooring.co.uk.

I'd hope it would show the cheesy index page. If so, that's one problem down. I'd then try to hit http://protechflooring.co.uk/cgi-bin/boink.pl (or just press the link, if the index.html page works properly) and see if we still get a 500 error or not. We it works and we get a blank (or "NOTHING TO SEE HERE"), then it would indicate a problem somewhere in perl_script.pl. If we still get a 500 error, then I'd try changing the script to use the other path and try again.

Do you have shell access to the machine you're uploading to?

I'll monitor this thread for a while and see how far you're getting.

Update: after reading huck's link to hostgator support, I struck out some irrelevent stuff.

Update: Added the content-type bit. Thanks to tangent for pointing it out!

...roboticus

When your only tool is a hammer, all problems look like your thumb.


In reply to Re: Please Save Me From Insanity!!! by roboticus
in thread Please Save Me From Insanity!!! by bennierounder

Title:
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, details, 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, summary, 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.