Aengus,

The only parameters I allow the user to alter in the CFG re-write are
Reportname (report.html) So they can create various reports to save as HTML
pages, and the to and from dates for range. CFEXECUTE is simply sending the
server a START command on the named file (with the credentials the CFServer
lives in as an installed app, I assume).

Considering that the manual launching of the analog.exe OR the run.bat
(start analog.exe) seems to execute just fine regardless of log amount or
size, I am left to wonder about the permission issues. I have investigated
adding a "RunAs" command into my BAT file, but It responds to the webpage
"Password?" and I have yet to find the proper syntax for including it in the
command. My thought was if I could "RunAs" the admin (as I am when I click
the analog.exe) it would execute the same way. I will look into the PL file
now and see if there are more access issues.
Thanks,
Henry




You probably don't want analog to be creating report.html - I'm not
familiar with CF, but usually you would want an application to write to
STDOUT, which would be trapped by the wrapper application, and streamed
back to the browser, with the appropriate HTTP headers inserted.

Under normal circumstances, Analog exits when it finishes or when it
encounters an error - the only circumstances under which Analog will run
for more than a couple of seconds are if you have huge log files or if
you have DNS lookups enabled. If you have not enabled DNS lookups, and
Analog is still showing up in your process list, then my guess is that
the problem is with CFEXECUTE rather than Analog, but I don't know
enough about it to be more specific.

As Jeremy points out, have a look at how anlgform.pl is written. There
are certain analog configuration commands that are potentially
dangerous, so you should make sure that you limit how much control
remote users have over the parameters that your wrapper passes to the
analog executable.

Aengus



+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------

Reply via email to