gecko-dev/webtools/bugzilla3/tests
2001-12-31 06:48:48 +00:00
..
output Removed some excessive brackets that made it impossible to log in. 2001-12-31 06:48:48 +00:00
Configuration.pm Missed a return statement in the setupInstall method. This was causing setup to fail every time, because the function returned a defined value. Also took the opportunity to add a call to setupProgress. 2001-11-11 11:54:06 +00:00
Main * Enabled Taint mode. 2001-12-30 02:33:44 +00:00
Output.pm
README Added some details on profiling to the README. 2001-12-30 02:29:49 +00:00
style * Enabled Taint mode. 2001-12-30 02:33:44 +00:00

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