Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Beginners Cgi > Re: Premature e...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 9 of 11 Topic 1402 of 1496
Post > Topic >>

Re: Premature end of script headers

by saran.jegan@[EMAIL PROTECTED] (Saran Jegan) Jun 13, 2007 at 09:41 AM

On Jun 12, 7:54 pm, drumm...@[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 <saran.je...@[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
 




 11 Posts in Topic:
Premature end of script headers
saran.jegan@[EMAIL PROTEC  2007-06-05 12:07:32 
Re: Premature end of script headers
sdavis2@[EMAIL PROTECTED]  2007-06-05 09:07:49 
Re: Premature end of script headers
drummike@[EMAIL PROTECTED  2007-06-05 09:28:11 
Re: Premature end of script headers
vendion@[EMAIL PROTECTED]  2008-11-16 15:41:52 
what is the best / latest .CGI to handle safe form parsing?
lhernsen1015@[EMAIL PROTE  2008-11-17 20:04:39 
Re: Premature end of script headers
drummike@[EMAIL PROTECTED  2007-06-08 10:57:32 
Re: Premature end of script headers
drummike@[EMAIL PROTECTED  2007-06-12 10:54:01 
Re: Premature end of script headers
saran.jegan@[EMAIL PROTEC  2007-06-13 06:27:47 
Re: Premature end of script headers
saran.jegan@[EMAIL PROTEC  2007-06-13 09:41:14 
RE: Variable Name Survey Form Input
Hellman.Matthew@[EMAIL PR  2007-06-13 12:45:16 
Re: Premature end of script headers
drummike@[EMAIL PROTECTED  2007-06-13 13:04:08 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 10:48:51 CST 2008.