Forum Moderators: coopster & phranque

Message Too Old, No Replies

UGH.. cgi-bin broken?

500 errors for everything

         

Acternaweb

2:52 pm on Dec 11, 2003 (gmt 0)

10+ Year Member



Ok, excuse the dumb question, but could I have done something to the cgi-bin directory that would break it? I have tried several scrips and allways get a 500 error. I have tried other people's scripts as well as demo scripts from a book to no avail

choster

3:41 pm on Dec 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Are the permissions on the directory set properly? Assuming you are on a Unix system, try setting cgi-bin to 755.

If the permissions are set correctly, your FTP client might have uploaded in the wrong mode (i.e. binary instead of text). Try uploading a test script in text and executing it.

Acternaweb

6:32 pm on Dec 11, 2003 (gmt 0)

10+ Year Member



I tried both and still no sucess

choster

7:02 pm on Dec 11, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Could be an issue with the host--

- is your path to Perl (first line of the script) correct?
- are they using a CGI wrapper that might have been, for instance, misconfigured after an upgrade?

Storyteller

9:54 pm on Dec 16, 2003 (gmt 0)

10+ Year Member



Acternaweb, Apache error log is the first place to look for causes of 500 errors. Find relevant messages and post them here.