Bugzilla run on Windows with Apache.
Hello everybody!
I am a soft test engineer in China, our company is now using bugzilla
to track
the bugs of our project. Cause bugzilla is designed to run on Unix
system, so it
is not easy to install it on Windows system well. We are using Windows
XP, and use
Apache not IIS as the httpd server. and the perl interpreter is
installed at
C:/perl/bin/perl. but all the perl scripts of bugzilla has such first
line
#!usr/bin/perl, so when Apache try to interpret the perl script, it
throws a
server internal error, because it can not find the perl interpreter at
#!usr/bin/perl. There are two ways to resole the problem, the first
one is to
replace the first line "#!usr/bin/perl" to "C:/perl/bin/perl" in all
the perl
script files of bugzilla. and the second one is change the perl
install folder
name perl to usr, then the perl interpreter is at C:/usr/bin/perl, in
this
situation, bugzilla seems work well.
BUT I do believe there must be some better way to resolve that
problem beyond
that two ways. like configure the bugzilla somewhere or configure the
Apache
somewhere, I have no idea about this, will you please tell me some
good advices?
Thank you so much for your patience to read this letter in poor
English :) And
I am looking forward to hear from you soon, thank you all!
RE: Bugzilla run on Windows with Apache.
Hi,
[color=blue]
> BUT I do believe there must be some better way to resolve that
> problem beyond
>
> that two ways. like configure the bugzilla somewhere or configure the
> Apache [/color]
Yes, look at the Apache configuration directive called
"ScriptInterpreterSource". You can set it to "Registry-Strict" and then
edit the registry to have BugZilla work with Apache on Windows.
--
David McMinn, Maxwell Downhole Technology Ltd.
Error: No Legal Target Milestone was set
Hi,
Even after not using default milestone feature
I am getting "A Legal Target Milestone was not set" error.
Please see my milestone parameter settings:
[root@ace data]# cat params | grep mile
'letsubmitterchoosemilestone' => '0',
'musthavemilestoneonaccept' => 0,
'usetargetmilestone' => '0',
But when I try to file a bug in a product,it gives me the
error "Bugzilla has suffered an Internal Error,...
A legal Target Milestone was not set".
I am using Bugzilla version 3.0.3 on RHEL4.
Is it a Bug ?
-Sandeep
RE: Error: No Legal Target Milestone was set
> A legal Target Milestone was not set".
Is there a milestone <input> in your create form? Could bugzilla see
it being submitted and still try to process it?
Re: Bugzilla run on Windows with Apache.
On 3月7日, 下午9时34分, "David McMinn" <David.McM...@mwdtechnology.com>
wrote:[color=blue]
> Hi,
>[color=green]
> > BUT I do believe there must be some better way to resolve that
> > problem beyond[/color]
>[color=green]
> > that two ways. like configure the bugzilla somewhere or configure the
> > Apache[/color]
>
> Yes, look at the Apache configuration directive called
> "ScriptInterpreterSource". You can set it to "Registry-Strict" and then
> edit the registry to have BugZilla work with Apache on Windows.
>
> --
> David McMinn, Maxwell Downhole Technology Ltd.[/color]
Thank you!
can you say something more in detail?
I mean, how?
Thenk you again!
Re: Bugzilla run on Windows with Apache.
Hi,
[color=blue][color=green][color=darkred]
>>> BUT I do believe there must be some better way to resolve that
>>> problem beyond
>>> that two ways. like configure the bugzilla somewhere or configure the
>>> Apache[/color]
>> Yes, look at the Apache configuration directive called
>> "ScriptInterpreterSource". You can set it to "Registry-Strict" and then
>> edit the registry to have BugZilla work with Apache on Windows.
>>[/color]
> Thank you!
> can you say something more in detail?
> I mean, how?[/color]
In my Apache configuration I have this:
<Directory "c:/path/to/bugzilla">
AddHandler cgi-script .cgi
Options +Indexes +ExecCGI
DirectoryIndex index.cgi
AllowOverride Limit
ScriptInterpreterSource Registry-Strict
</Directory>
In my registry I have created this key:
HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.cgi\Shell\ExecCGI\Command
Set the (Default) value to be the path to your perl binary, e.g.
"C:\Perl\bin\perl.exe -wT"
--
[) /\ \/ ][ [) |\/| c |\/| ][ |\| |\|
[url]http://www.david-mcminn.co.uk[/url]
Re: Bugzilla run on Windows with Apache.
On Sun, 09 Mar 2008 14:34:18 +0000 David McMinn <dave@blitz-2000.co.uk>
wrote:[color=blue]
> "C:\Perl\bin\perl.exe -wT"[/color]
I think on Windows that has to be -w -T (separate items)
although I'm not sure.
-Max
--
[url]http://www.everythingsolved.com/[/url]
Competent, Friendly Bugzilla and Perl Services. Everything Else, too.
RE: Bugzilla run on Windows with Apache.
Max Kanat-Alexander wrote:
[color=blue][color=green]
>> "C:\Perl\bin\perl.exe -wT"[/color]
>
> I think on Windows that has to be -w -T (separate items)[/color]
although[color=blue]
> I'm not sure. [/color]
I was just following the example that the Apache manual gave IIRC. I'll
give it a try and see if it makes any difference (although I'll need to
find out what difference it would make :).
Thanks.
--
David McMinn, Maxwell Downhole Technology Ltd.