gecko-dev/webtools/bugzilla/docs/html
barnboy%trilobyte.net 8ab8b154ac Added .htaccess files for shadow/, data/, and /.
I added related information to the Bugzilla Guide, and
tacked in a couple of last-minute additions.  Also fixed the
annoying "Tip: HINT:" thing.
2001-04-26 01:51:59 +00:00
..
Bugzilla-Guide.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
about.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
aboutthisguide.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
administration.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
bonsai.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
bugprobs.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
bz30.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
cleanupwork.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
cmdline.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
contributors.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
conventions.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
copyright.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
credits.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
cvs.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
database.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
dbaseintegrity.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
dbdoc.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
dbschema.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
dbschema.jpg Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
disclaimer.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
downloadlinks.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
faq.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
feedback.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
future.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
gfdl_0.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_1.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_2.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_3.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_4.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_5.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_6.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_7.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_8.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_9.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_10.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
gfdl_howto.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
glossary.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
granttables.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
how.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
index.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
init4me.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
installation.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
integration.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
newversions.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
patches.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
postinstall-check.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
programadmin.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
quicksearch.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
readme.unix.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
readme.windows.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
rhbugzilla.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
scm.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
searching.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
security.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
setperl.html Added .htaccess files for shadow/, data/, and /. 2001-04-26 01:51:59 +00:00
spamlite.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
tinderbox.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
trackingbugs.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
translations.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
useradmin.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
using.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
usingbz-conc.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
variants.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
whatis.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00
why.html Updated Bugzilla Guide and README to fix bug 76156, bug 76841, and bug 26242. 2001-04-25 07:12:20 +00:00

readme.windows.html

<HTML
><HEAD
><TITLE
>Win32 (Win98+/NT/2K) Installation</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.64
"><LINK
REL="HOME"
TITLE="The Bugzilla Guide"
HREF="index.html"><LINK
REL="UP"
TITLE="Installing Bugzilla"
HREF="installation.html"><LINK
REL="PREVIOUS"
TITLE="UNIX Installation"
HREF="readme.unix.html"><LINK
REL="NEXT"
TITLE="Administering Bugzilla"
HREF="administration.html"></HEAD
><BODY
CLASS="SECTION"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>The Bugzilla Guide</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="readme.unix.html"
>Prev</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
>Chapter 2. Installing Bugzilla</TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="administration.html"
>Next</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="SECTION"
><H1
CLASS="SECTION"
><A
NAME="README.WINDOWS"
>2.2. Win32 (Win98+/NT/2K) Installation</A
></H1
><P
>      These directions have <EM
>not</EM
> been extensively tested.
      We need testers!  Please try these out and post any changes to the
      newsgroup.
    </P
><DIV
CLASS="SECTION"
><H2
CLASS="SECTION"
><A
NAME="NTVERIFIED"
>2.2.1. Win32 Installation: Step-by-step</A
></H2
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>	  You should be familiar with, and cross-reference, the UNIX README
	  while performing your Win32 installation.  Unfortunately, Win32
	  directions are not yet as detailed as those for UNIX.
	</P
><P
>	  The <EM
>most critical</EM
> difference for Win32 users is
	  the lack of support for a crypt() function in MySQL for Windows.  It does not
	  have it!  All ENCRYPT statements must be modified.
	</P
></BLOCKQUOTE
></DIV
><DIV
CLASS="PROCEDURE"
><OL
TYPE="1"
><LI
><P
>	    Install <A
HREF="http://www.apache.org/"
TARGET="_top"
>Apache Web Server</A
>
	    for Windows.
	  </P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>	      You may also use Internet Information Server or Personal Web
	      Server for this purpose.  However, setup is slightly more
	      difficult.  If ActivePerl doesn't seem to handle your file
	      associations correctly (for .cgi and .pl files), please
	      consult the FAQ, in the "Win32" section.
	    </P
><P
>	      If you are going to use IIS, if on Windows NT you must be updated
	      to at least Service Pack 4.
	    </P
></BLOCKQUOTE
></DIV
></LI
><LI
><P
>	    Install <A
HREF="http://www.activestate.com/"
TARGET="_top"
>ActivePerl</A
>
	  </P
><P
>	    Please also check the following links to fully understand the status
	    of ActivePerl on Win32:
	    <A
HREF="http://language.perl.com/newdocs/pod/perlport.html"
TARGET="_top"
>	      Perl Porting</A
>, and
	    <A
HREF="http://ftp.univie.ac.at/packages/perl/ports/nt/FAQ/perlwin32faq5.html"
TARGET="_top"
>	      Hixie Click Here</A
>
	  </P
></LI
><LI
><P
>	    Use ppm from your perl\bin directory to install the following packs: DBI,
	    DBD-Mysql, TimeDate, Chart, Date-Calc, Date-Manip, and GD.  You may need
	    to extract them from .zip format using Winzip or other unzip program first.
	    These additional ppm modules can be downloaded from ActiveState.
	  </P
><P
>	    The syntax for ppm is:
	    <TT
CLASS="COMPUTEROUTPUT"
>	      <TT
CLASS="PROMPT"
>C:&#62; </TT
><B
CLASS="COMMAND"
>ppm install &#60;module&#62;.ppd</B
>
	    </TT
>
	  </P
><P
>	    You can find ActiveState ppm modules at
	    <A
HREF="http://www.activestate.com/PPMPackages/5.6plus/"
TARGET="_top"
>	      http://www.activestate.com/PPMPackages/5.6plus</A
>
	  </P
></LI
><LI
><P
>	    Download and install the Windows GNU tools from
	    <A
HREF="http://www.cygwin.com/"
TARGET="_top"
>www.cygwin.com</A
>.
	    Make sure the GNU utilities are in your $PATH.
	  </P
></LI
><LI
><P
>	    Install MySQL for NT.
	    <DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>		Your configuration file for MySQL <EM
>must</EM
> be named C:\MY.CNF.
	      </P
></BLOCKQUOTE
></DIV
>
	  </P
></LI
><LI
><P
>	    Setup MySQL
	  </P
><OL
CLASS="SUBSTEPS"
TYPE="a"
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>C:&#62; </TT
>
		  <B
CLASS="COMMAND"
>C:\mysql\bin\mysql -u root mysql</B
>
		</TT
>
	      </P
></LI
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>mysql&#62;</TT
>
		  <B
CLASS="COMMAND"
>DELETE FROM user WHERE Host='localhost' AND User='';</B
>
		</TT
>
	      </P
></LI
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>mysql&#62;</TT
>
		  <B
CLASS="COMMAND"
>UPDATE user SET Password=PASSWORD ('new_password')
		    WHERE user='root';</B
>
		</TT
>
	      </P
></LI
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>mysql&#62;</TT
>
		  <B
CLASS="COMMAND"
>GRANT SELECT, INSERT, UPDATE, DELETE,
		    INDEX, ALTER, CREATE, DROP, REFERENCES
		    ON bugs.* to bugs@localhost
		    IDENTIFIED BY 'bugs_password';</B
>
		</TT
>
	      </P
></LI
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>mysql&#62;</TT
>
		  <B
CLASS="COMMAND"
>FLUSH PRIVILEGES;</B
>
		</TT
>
	      </P
></LI
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>mysql&#62;</TT
>
		  <B
CLASS="COMMAND"
>create database bugs;</B
>
		</TT
>
	      </P
></LI
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>mysql&#62;</TT
>
		  <B
CLASS="COMMAND"
>exit</B
>
		</TT
>
	      </P
></LI
><LI
><P
>		<TT
CLASS="COMPUTEROUTPUT"
>		  <TT
CLASS="PROMPT"
>C:&#62;</TT
>
		  <B
CLASS="COMMAND"
>C:\mysql\bin\mysqladmin -u root -p reload</B
>
		</TT
>
	      </P
></LI
></OL
></LI
><LI
><P
>	    Configure Bugzilla.  For Win32, this involves editing "defparams.pl"
	    and "localconfig" to taste.  Running "checksetup.pl" should create
	    localconfig for you.  Note that getgrnam() doesn't work, and should be
	    deleted.  Change this line:
	    "my $webservergid = getgrnam($my_webservergroup); "
	    to
	    "my $webservergid = $my_webservergroup; "
	  </P
></LI
><LI
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>	      There are several alternatives to Sendmail that will work on Win32.
	      The one mentioned here is a <EM
>suggestion</EM
>, not
	      a requirement.  Some other mail packages that can work include
	      <A
HREF="http://www.blat.net/"
TARGET="_top"
>BLAT</A
>,
	      <A
HREF="http://www.geocel.com/windmail/"
TARGET="_top"
>Windmail</A
>,
	      <A
HREF="http://www.dynamicstate.com/"
TARGET="_top"
>Mercury Sendmail</A
>,
	      and the CPAN Net::SMTP Perl module (available in .ppm).
	      Every option requires some hacking of the Perl scripts for Bugzilla
	      to make it work.  The option here simply requires the least.
	    </P
></BLOCKQUOTE
></DIV
><P
>	    Download NTsendmail, available from<A
HREF="http://www.ntsendmail.com/"
TARGET="_top"
>	    www.ntsendmail.com</A
>.  In order for it to work, you must set up some
	    new environment variables (detailed on the ntsendmail home page).  Figuring
	    out where to put those variables is left as an exercise for the reader.
	    You must have a "real" mail server which allows you to relay off it
	    in your $ENV{"NTsendmail"} (which you should probably place in globals.pl)
	  </P
><P
>	    Once downloaded and installed, modify all open(SENDMAIL) calls to open
	    "| c:\ntsendmail\ntsendmail -t" instead of "|/usr/lib/sendmail -t".
	  </P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>	      We need someone to test this and make sure this works as advertised.
	    </P
></BLOCKQUOTE
></DIV
></LI
><LI
><P
>	    Modify globals.pl and CGI.pl to remove the word "encrypt".
	  </P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>	      I'm not sure this is all that is involved to remove crypt.  Any
	      NT Bugzilla hackers want to pipe up?
	    </P
></BLOCKQUOTE
></DIV
></LI
><LI
><P
>	    Change all references to "processmail" to "processmail.pl" in
	    all files, and rename "processmail" to "processmail.pl"
	  </P
><DIV
CLASS="NOTE"
><BLOCKQUOTE
CLASS="NOTE"
><P
><B
>Note: </B
>	      I really think this may be a change we want to make for
	      main-tree Bugzilla.  It's painless for the UNIX folks,
	      and will make the Win32 people happier.
	    </P
></BLOCKQUOTE
></DIV
></LI
><LI
><P
>	    Modify the path to perl on the first line (#!) of all files
	    to point to your Perl installation, and
	    add "perl" to the beginning of all Perl system calls that
	    use a perl script as an argument.  This may take you a while.
	    There is a "setperl.pl" utility to speed part of this procedure,
	    available in the "Patches and Utilities" section of The Bugzilla Guide.
	  </P
></LI
><LI
><P
>	    In processmail.pl, add "binmode(HANDLE)" before all read() calls.
	    This may not be necessary, but in some cases the read() under
	    Win32 doesn't count the EOL's without using a binary read().
	  </P
></LI
></OL
></DIV
></DIV
><DIV
CLASS="SECTION"
><H2
CLASS="SECTION"
><A
NAME="ADDLWINTIPS"
>2.2.2. Additional Windows Tips</A
></H2
><DIV
CLASS="TIP"
><BLOCKQUOTE
CLASS="TIP"
><P
><B
>Tip: </B
>	  From Andrew Pearson:
	  <A
NAME="AEN633"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><P
>	      "You can make Bugzilla work with Personal Web Server for
	      Windows 98 and higher, as well as for IIS 4.0.  Microsoft has
	      information available at
	      <A
HREF=" http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP"
TARGET="_top"
>		http://support.microsoft.com/support/kb/articles/Q231/9/98.ASP</A
>
	    </P
><P
>	      Basically you need to add two String Keys in the
	      registry at the following location:
	    </P
><P
>	      HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\ScriptMap
	    </P
><P
>	      The keys should be called ".pl" and ".cgi", and both
	      should have a value something like:
	      <B
CLASS="COMMAND"
>c:/perl/bin/perl.exe "%s" "%s"</B
>
	    </P
><P
>	      The KB article only talks about .pl, but it goes into
	      more detail and provides a perl test script.
	    </P
></BLOCKQUOTE
>
	</P
></BLOCKQUOTE
></DIV
><DIV
CLASS="TIP"
><BLOCKQUOTE
CLASS="TIP"
><P
><B
>Tip: </B
>"Brian" had this to add, about upgrading to Bugzilla 2.12 from previous versions:</P
><A
NAME="AEN643"
></A
><BLOCKQUOTE
CLASS="BLOCKQUOTE"
><P
>	    Hi - I am updating bugzilla to 2.12 so I can tell you what I did (after I
	    deleted the current dir and copied the files in).
	  </P
><P
>	    In checksetup.pl, I did the following...
	  </P
><DIV
CLASS="PROCEDURE"
><OL
TYPE="1"
><LI
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>my $webservergid = getgrnam($my_webservergroup);
	      </PRE
></TD
></TR
></TABLE
><P
>to</P
><TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>my $webservergid = 'Administrators'		
	      </PRE
></TD
></TR
></TABLE
></LI
><LI
><P
>		I then ran checksetup.pl
	      </P
></LI
><LI
><P
>		I removed all the encrypt()
		<DIV
CLASS="EXAMPLE"
><A
NAME="AEN655"
></A
><P
><B
>Example 2-3. Removing encrypt() for Windows NT installations</B
></P
><P
>		    Replace this:
		    <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>SendSQL("SELECT encrypt(" . SqlQuote($enteredpwd) . ", " .
    SqlQuote(substr($realcryptpwd, 0, 2)) . ")");
my $enteredcryptpwd = FetchOneColumn();
		    </PRE
></TD
></TR
></TABLE
>
		    with this:
		    <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>my $enteredcryptpwd = $enteredpwd
		    </PRE
></TD
></TR
></TABLE
>
		    in cgi.pl.
		  </P
></DIV
>
	      </P
></LI
><LI
><P
>		I renamed processmail to processmail.pl
	      </P
></LI
><LI
><P
>		I altered the sendmail statements to windmail:
		<TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
WIDTH="100%"
><TR
><TD
><PRE
CLASS="PROGRAMLISTING"
>  
open SENDMAIL, "|\"C:/General/Web/tools/Windmail 4.0 Beta/windmail\" -t &#62; mail.log";
		</PRE
></TD
></TR
></TABLE
>
	      </P
><P
>		The quotes around the dir is for the spaces. mail.log is for the output
	      </P
></LI
></OL
></DIV
></BLOCKQUOTE
></BLOCKQUOTE
></DIV
><DIV
CLASS="TIP"
><BLOCKQUOTE
CLASS="TIP"
><P
><B
>Tip: </B
>	  This was some late breaking information from Jan Evert.  Sorry for the lack of formatting.
	</P
><P
CLASS="LITERALLAYOUT"
>I'm&nbsp;busy&nbsp;installing&nbsp;bugzilla&nbsp;on&nbsp;a&nbsp;WinNT&nbsp;machine&nbsp;and&nbsp;I&nbsp;thought&nbsp;I'd&nbsp;notify&nbsp;you<br>
at&nbsp;this&nbsp;moment&nbsp;of&nbsp;the&nbsp;commments&nbsp;I&nbsp;have&nbsp;to&nbsp;section&nbsp;2.2.1&nbsp;of&nbsp;the&nbsp;bugzilla<br>
guide&nbsp;(at&nbsp;http://www.trilobyte.net/barnsons/html/).<br>
<br>
Step&nbsp;1:<br>
I've&nbsp;used&nbsp;apache,&nbsp;installation&nbsp;is&nbsp;really&nbsp;straightforward.<br>
After&nbsp;reading&nbsp;the&nbsp;Unix&nbsp;installation&nbsp;instructions,&nbsp;I&nbsp;found&nbsp;that&nbsp;it&nbsp;is<br>
necessary&nbsp;to&nbsp;add&nbsp;the&nbsp;ExecCGI&nbsp;option&nbsp;to&nbsp;the&nbsp;bugzilla&nbsp;directory.&nbsp;Also&nbsp;the<br>
'AddHandler'&nbsp;line&nbsp;for&nbsp;.cgi&nbsp;is&nbsp;by&nbsp;default&nbsp;commented&nbsp;out.<br>
<br>
Step&nbsp;3:&nbsp;although&nbsp;just&nbsp;a&nbsp;detail,&nbsp;'ppm&nbsp;install&nbsp;&#60;module%gt;'&nbsp;will&nbsp;also&nbsp;work<br>
(wihtout&nbsp;.ppd).&nbsp;And,&nbsp;it&nbsp;can&nbsp;also&nbsp;download&nbsp;these&nbsp;automatically&nbsp;from<br>
ActiveState.<br>
<br>
Step&nbsp;4:&nbsp;although&nbsp;I&nbsp;have&nbsp;cygwin&nbsp;installed,&nbsp;it&nbsp;seems&nbsp;that&nbsp;it&nbsp;is&nbsp;not&nbsp;necessary.<br>
On&nbsp;my&nbsp;machine&nbsp;cygwin&nbsp;is&nbsp;not&nbsp;in&nbsp;the&nbsp;PATH&nbsp;and&nbsp;everything&nbsp;seems&nbsp;to&nbsp;work&nbsp;as<br>
expected.<br>
However,&nbsp;I've&nbsp;not&nbsp;used&nbsp;everything&nbsp;yet.<br>
<br>
Step&nbsp;6:&nbsp;the&nbsp;'bugs_password'&nbsp;given&nbsp;in&nbsp;SQL&nbsp;command&nbsp;d&nbsp;needs&nbsp;to&nbsp;be&nbsp;edited&nbsp;into<br>
localconfig&nbsp;later&nbsp;on&nbsp;(Step&nbsp;7)&nbsp;if&nbsp;the&nbsp;password&nbsp;is&nbsp;not&nbsp;empty.&nbsp;I've&nbsp;also&nbsp;edited<br>
it&nbsp;into&nbsp;globals.pl,&nbsp;but&nbsp;I'm&nbsp;not&nbsp;sure&nbsp;that&nbsp;is&nbsp;needed.&nbsp;In&nbsp;both&nbsp;places,&nbsp;the<br>
variable&nbsp;is&nbsp;named&nbsp;db_pass.<br>
<br>
Step&nbsp;8:&nbsp;all&nbsp;the&nbsp;sendmail&nbsp;replacements&nbsp;mentioned&nbsp;are&nbsp;not&nbsp;as&nbsp;simple&nbsp;as<br>
described&nbsp;there.&nbsp;Since&nbsp;I&nbsp;am&nbsp;not&nbsp;familiar&nbsp;(yet)&nbsp;with&nbsp;perl,&nbsp;I&nbsp;don't&nbsp;have&nbsp;any<br>
mail&nbsp;working&nbsp;yet.<br>
<br>
Step&nbsp;9:&nbsp;in&nbsp;globals.pl&nbsp;the&nbsp;encrypt()&nbsp;call&nbsp;can&nbsp;be&nbsp;replaced&nbsp;by&nbsp;just&nbsp;the<br>
unencrypted&nbsp;password.&nbsp;In&nbsp;CGI.pl,&nbsp;the&nbsp;complete&nbsp;SQL&nbsp;command&nbsp;can&nbsp;be&nbsp;removed.<br>
<br>
Step&nbsp;11:&nbsp;I've&nbsp;only&nbsp;changed&nbsp;the&nbsp;#!&nbsp;lines&nbsp;in&nbsp;*.cgi.&nbsp;I&nbsp;haven't&nbsp;noticed&nbsp;problems<br>
with&nbsp;the&nbsp;system()&nbsp;call&nbsp;yet.<br>
There&nbsp;seem&nbsp;to&nbsp;be&nbsp;only&nbsp;four&nbsp;system()&nbsp;called&nbsp;programs:&nbsp;processmail.pl&nbsp;(handled<br>
by&nbsp;step&nbsp;10),&nbsp;syncshadowdb&nbsp;(which&nbsp;should&nbsp;probably&nbsp;get&nbsp;the&nbsp;same&nbsp;treatment&nbsp;as<br>
processmail.pl),&nbsp;diff&nbsp;and&nbsp;mysqldump.&nbsp;The&nbsp;last&nbsp;one&nbsp;is&nbsp;only&nbsp;needed&nbsp;with&nbsp;the<br>
shadowdb&nbsp;feature&nbsp;(which&nbsp;I&nbsp;don't&nbsp;use).<br>
<br>
There&nbsp;seems&nbsp;to&nbsp;be&nbsp;one&nbsp;step&nbsp;missing:&nbsp;copying&nbsp;the&nbsp;bugzilla&nbsp;files&nbsp;somehwere<br>
that&nbsp;apache&nbsp;can&nbsp;serve&nbsp;them.<br>
<br>
Just&nbsp;noticed&nbsp;the&nbsp;updated&nbsp;guide...&nbsp;Brian's&nbsp;comment&nbsp;is&nbsp;new.&nbsp;His&nbsp;first&nbsp;comment<br>
will&nbsp;work,&nbsp;but&nbsp;opens&nbsp;up&nbsp;a&nbsp;huge&nbsp;security&nbsp;hole.<br>
	</P
></BLOCKQUOTE
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="readme.unix.html"
>Prev</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
>Home</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="administration.html"
>Next</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>UNIX Installation</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="installation.html"
>Up</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>Administering Bugzilla</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>