We help IT Professionals succeed at work.

500 Error (sorry I'm new at this :)

ShawnCurry
ShawnCurry asked
on
224 Views
Last Modified: 2013-12-25
This will probably be an easy one..  I know a little bit about cgi..  I have a book example I'm playing with; it uses a c program to decode the form an spit out a response.  I've compiled it (on a windows box) and uploaded it to my website(nix).  Fill out the form, submit; 500 - Internal Server Error..  The form's pointing to the right place.  Do I need to compile this on 'nix??

I downloaded the code right from the book's site..  And, of course, it doesn't seem to do anything if I try to run it locally..

Thanks,

Shawn
Comment
Watch Question

Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Bah.  I can't read apparently.  You are using c not perl.  Disregard step 2.

Author

Commented:
Ohh yeahh... Probably help if I made it executable huh??

Author

Commented:
Hmm..  Well I gave the execute permission to it, but it still doesn't work..  Guess I'll try compiling it on 'nix tomarrow. The html points to the right place, and if I run the file, it does print out the html tags.

Author

Commented:
>> and if I run the file,

Locally..

Author

Commented:
Turns out all I needed to do was complile on 'nix (and give it the execute permission)

Thanks,

Shawn
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.