[Xitami] #exec cmd= in Win XP

Marc Doigny xitami@lists.xitami.org
Wed, 10 Dec 2003 08:24:19 +0100


At 21:28 9/12/03, "Charles Duval" <ch_duval@hotmail.com> wrote:

>I am trying to use a CGI to copy content on one directory to another on my
>Web server to update information on a ramdisk.

[...]

- Through a compiled CGI program.

I have a whole ordering system running as executable (more than 100 
executables), never had this sort of problem. I'm using w2k and am not sure 
if it's related with XP.
Do you succeed executing other sorts of executables? Maybe you are getting 
a time-out from Xitami?

One error that comes to my mind (and occur quite frequently), is that if 
you use DOS commands from within your executable, you must run them as 
argument of the CMD statement. That is because Xitami starts your 
executable directly, and there is no command interpreter available.

Please include the source code of your program (if it's some kind of widely 
used language) so we can debug it.

I can compile you a small executable that will do the job and/or display 
status information as HTTP output (why the copy was not done). Specify 
exactly what the executable must do. Mail me personally marc@verfaillie.be 
if interested. i'll also include the correct Xitami settings to use.

Some general info about Xitami and windows executables: 
http://web.verfaillie.com/webserver

Marc


--::Mailserver Verfaillie Bauwens::-- contact [postmaster@verfaillie.com]
Alle mails gecontroleerd op virussen. Virusdefinities dagelijks aangepast.
http://www.verfaillie.com