Index of /libraries/perl/tests

      Name                    Last modified      Size  Description
Parent Directory - output/ 30-Dec-2001 22:39 - nph-Main 30-Dec-2001 21:34 38 The main part of the PLIF test app style 29-Dec-2001 18:41 207 Output.pm 06-Nov-2001 17:41 1.9K Configuration.pm 11-Nov-2001 03:54 1.9K Main 30-Dec-2001 18:14 3.8K
The files in this directory are part of the PLIF test appliaction, the
precursor to Bugzilla3.

Note: To test this on Apache, make a symlink called "nph-Main" and
point it to the file "Main".

You will also then want to create a .htaccess file containing
something like the following:

--------------------------------------8<--------------------------------------
# set up the CGI scripts without .cgi extensions
<files nph-Main>
   SetHandler cgi-script
</files>

# set up the stylesheets without .css extensions
<files style>
   ForceType text/css
</files>

# describe the files
AddDescription "The main part of the PLIF test app" nph-Main

# SECURITY_HOLE_PASS_AUTHORIZATION
RewriteEngine on
RewriteBase /libraries/perl/PLIF/tests/
ReWriteRule .? - [E=HTTP_AUTHORIZATION:%{HTTP:AUTHORIZATION},PT]
--------------------------------------8<--------------------------------------

You will also want to make sure that Options +ExecCGI is enabled in
the directory containing nph-Main and that the directory is not
writable by others (drwxr-xr-x).

Finally, if you are using suexec then it won't be able to stat a
symlink to Main, so delete the symlink, rename Main to nph-Main, and
then create a symlink Main that points to nph-Main.




PROFILING

run Main with -d:DProf, then use dprofpp with one of the following
arguments:

-E vs -I         exclude or include child times: -E is more useful
-l vs -v vs -z   sort by number of calls vs average time spent vs total time spent
-O 15            number of lines to show
-S               the tree vs the list