[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 500 Internal Server Error...



On Tue, 1 Feb 2005, Mayuresh Kathe wrote:

> Hello,
>
> I am running OpenBSD 3.6 with the default Apache 1.3.29
> When I access any static HTML page it gets displayed properly.
> But, whenever I try to run any CGI, eg. http://localhost/cgi-bin/printenv
> It gives me:
> "500 Internal Server Error"
>
1) Can you run your cgi's on the command line?

2) Have you edited them with a DOS editor and ftp'd to the server? If so,
check for extranous "^M"s - they will choke Perl.

3) Can you run the stock Apache cgi test (like printenv)?

4) What was the error message in the logs?

	Lee

================================================
  Leland V. Lammert            lvl@omnitec.net
    Chief Scientist     Omnitec Corporation
 Network/Internet Consultants   www.omnitec.net
================================================