Thursday, June 21, 2007

Problem Running Bugzilla - Internal Server Error!!

Did everything in the manual, all the configurations to apache httpd.conf file but still getting the Internal Server Error! ?
wel the same thing happened to me too, after strugling for several days, this is the cause of it I found,
as you know you must put the following sataments in the httpd.conf to make .cgi file to run by apache using perl.

AddHandler cgi-script .cgi

Options Indexes FollowSymLinks ExecCGI

ScriptInterpreterSource Registry-Strict


But how does apache know where perl is? the problem is there, you must create registry values for .cgi extension so that apache can use perl to run them.

You can add the followng entries in the registry,

create the following key;

HKEY_CLASSES_ROOT\.cgi\Shell\ExecCGI\Command

Put 'default' value with the path to perl.exe followed by "-T"

example: C:\Perl\bin\perl.exe -T

Run bugzilla again, things should be ok if you have done other configurations correclty.

Chears!
Supun

No comments: