On Jun 12, 7:54 pm, [EMAIL PROTECTED] (Mike Williams) wrote: > Saravanan, > > Hi there. Please do a reply to all to keep this on the list. Someone > else may be able to help, and someone else may be helped in the future > if it lands in the list archives. > > On 6/12/07, saravanan Jagadeesan <[EMAIL PROTECTED]> wrote: > > > Mike, > > > Thanks for your info mike , i got my script work by re-programming > > it in perl, but i need to know why its not running using C , whether it > > creates some memory problem > > Nothing you have said so far gives any indication of this being memory > related. > > You didn't mention whether you checked your httpd.conf file as I > mentioned earlier. Did you try adding a line like: > > AddHandler cgi-script .cgi .exe > > to the <Directory> section for the directory that your ScriptAlias points to? > > Could you post those two pieces of your httpd.conf file? > > What operating system are you using? Please be specific, version, etc. > > Do you have to use windows for this? Since your c code worked fine > with linux, perhaps you should consider using linux. Or maybe you > could just switch to perl. > > Mike
Mike, i made changes in httpd.conf file as you mentioned , here is mine <Directory "E:/Program Files/Apache Software Foundation/Apache2.2/cgi- bin"> AllowOverride None Options None Order allow,deny Allow from all Options ExecCGI AddHandler cgi-script.exe </Directory> But it too not work out , am using windows XP-2 (windows 5.1) do you made any modification to make the code run on linux,if so let me know -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/