No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
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:
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:
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. 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
|
|