Index: trunk/ippMonitor/configure.tcsh
===================================================================
--- trunk/ippMonitor/configure.tcsh	(revision 41126)
+++ trunk/ippMonitor/configure.tcsh	(revision 41730)
@@ -16,4 +16,5 @@
 set prefix  = ""
 set bindir  = ""
+set wwwbin  = ""
 set libdir  = ""
 set datadir = ""
@@ -92,4 +93,12 @@
    endif
    breaksw;
+  case --wwwbin*
+   if ("$1" == "--wwwbin") then
+     shift
+     set wwwbin = $1
+   else
+     set wwwbin = `echo $1 | tr = ' ' | awk '{print $2}'`
+   endif
+   breaksw;
   case --libdir*
    if ("$1" == "--libdir") then
@@ -139,4 +148,5 @@
 echo "prefix: $prefix"
 echo "bindir: $bindir"
+echo "wwwbin: $wwwbin"
 echo "libdir: $libdir"
 echo "datadir:$datadir"
@@ -160,4 +170,10 @@
 endif
 
+# BINDIR holds the output binary files
+if ("$wwwbin" == "") then
+  if ("$prefix" == "") goto usage
+  set wwwbin = $prefix/wwwbin
+endif
+
 # LIBDIR set the install lib directory
 if ("$libdir" == "") then
@@ -182,12 +198,14 @@
 # convert Makefile.in to Makefile:
 if (-e Makefile) mv -f Makefile Makefile~
-cat Makefile.in | sed "s|@HTDOCS@|$htdocs|" > tmp.1
+cat Makefile.in | sed "s|@HTDOCS@|$htdocs|"    > tmp.1
 cat tmp.1       | sed "s|@HOST2@|$hostname2|"  > tmp.2
-cat tmp.2       | sed "s|@BINDIR@|$bindir|" > Makefile
-rm -f tmp.2
+cat tmp.2       | sed "s|@BINDIR@|$bindir|"    > tmp.1
+cat tmp.1       | sed "s|@WWWBIN@|$wwwbin|"    > Makefile
+rm -f tmp.1 tmp.2 
 
 # convert raw/site.php.in to raw/site.php
 if (-e raw/site.php) mv -f raw/site.php raw/site.php~
-cat raw/site.php.in | sed "s|@BINDIR@|$bindir|"  > tmp.2
+cat raw/site.php.in | sed "s|@BINDIR@|$bindir|"  > tmp.1
+cat tmp.1           | sed "s|@WWWBIN@|$wwwbin|"  > tmp.2
 cat tmp.2           | sed "s|@LIBDIR@|$libdir|"  > tmp.1
 cat tmp.1           | sed "s|@PERLLIB@|$libdir|" > tmp.2
@@ -232,5 +250,6 @@
   --useMDB2              use MDB2 interface instead of DB
 
-  --bindir=DIR           user executables [PREFIX/bin/$ARCH] 
+  --bindir=DIR           IPP main executables [PREFIX/bin] 
+  --wwwbin=DIR           ippMonitor executables [PREFIX/wwwbin] 
   --libdir=DIR           object code libraries [PREFIX/lib/$ARCH]
   --datadir=DIR          read-only architecture-independent data [PREFIX/share]
