Gossamer Forum
Home : Products : Others : MySQLMan :

Internal Server Error 500

Quote Reply
Internal Server Error 500
I am getting an "Internal Server Error" message 500. I have installed the Nusphere package (www.nusphere.com) on Windows 98 -- Apache, Perl, MySql, PHP. Everything works including phpMyAdmin. I have installed mysql.cgi in c:/nusphere/apache/cgi-bin, with a mysqlman directory in cgi-bin. I have modified the pathnames in mysql.cgi and mysql.cfg to include the pathname c:/nusphere/apache/cgi-bin/mysqlman and have copied the mysqlman files and directories to this directory including ./templates and ./help. The error log shows this message: No such file or directory: couldn't spawn child process: c:/nusphere/apache/cgi-bin/mysql.cgi. I am at a loss...

Quote Reply
Re: Internal Server Error 500 In reply to
This is Apache's way of saying it couldn't find perl. Apache looks at the first line of the script to find out where perl is (bad idea imo). You need to do:

#!c:\Perl\bin\perl.exe

as the first line of mysql.cgi.

Hope that helps,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Internal Server Error 500 In reply to
Thanks Alex. That fixed the problem. I was tearing my hair out on this one. Thus far, it looks like a great script! The actual statement I had to insert was:

#!c:\nusphere\Perl\bin\perl.exe