On Wed, Apr 14, 2010 at 1:22 PM, Bruno Luciani wrote:
> why testcgi not works ?
I don't know. I didn't write it and I don't find it useful.
IMHO HTML is so well documented and supported that hiding it behind a
class is a waste of resources.
best regards,
Lorenzo
why testcgi not works ?
Bruno
2010/4/14 Lorenzo Fiorini
> On Tue, Apr 13, 2010 at 10:06 PM, Bruno Luciani
> wrote:
>
> > Ok
> >
> > running
> >
> > http://www.lw3dtr.com.ar/cgi-bin/testlorenzo?testcgi
> >
> >
> > I get
> >
> > Hello World!
> >
> >
> > What that means ?
>
> That it works :)
>
>
On Tue, Apr 13, 2010 at 10:06 PM, Bruno Luciani wrote:
> Ok
>
> running
>
> http://www.lw3dtr.com.ar/cgi-bin/testlorenzo?testcgi
>
>
> I get
>
> Hello World!
>
>
> What that means ?
That it works :)
best regards,
Lorenzo
___
Harbour mailing list (atta
Ok
running
http://www.lw3dtr.com.ar/cgi-bin/testlorenzo?testcgi
I get
Hello World!
What that means ?
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr 13, 2010 at 6:45 PM, Bruno Luciani
> wrote:
>
> > [Tue Apr 13 14:01:05 2010] [error] [client xx] Error BASE/1081
> > Argument error:
On Tue, Apr 13, 2010 at 6:45 PM, Bruno Luciani wrote:
> [Tue Apr 13 14:01:05 2010] [error] [client xx] Error BASE/1081
> Argument error: +
> [Tue Apr 13 14:01:05 2010] [error] [client xx] Called from MAIN(9)
If you look at the cgi script it requires a parameter, so you should
cal
i test with this t1.prg
FUNCTION Main()
s_cNewLine := HB_OSNewLine()
// s_cNewLine := chr(10)
cContent :=
;
"Content-type: text/html"+ s_cNewLine
+ s_cNewLine + ;
" Hello world " + ;
"I am H
Another thing , in linux we need to compile in static mode because we don't
have harbour installed on webserver machine
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr 13, 2010 at 6:00 PM, Bruno Luciani
> wrote:
>
> > Lorenzo , could you try testcgi sample from test folder in SVN ?
>
> testcgi.p
Error BASE/1081 Argument error: + (Quit)
This is the response
and the apache log
[Tue Apr 13 14:01:05 2010] [error] [client xx] Error BASE/1081
Argument error: +
[Tue Apr 13 14:01:05 2010] [error] [client xx] Called from MAIN(9)
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr
On Tue, Apr 13, 2010 at 6:00 PM, Bruno Luciani wrote:
> Lorenzo , could you try testcgi sample from test folder in SVN ?
testcgi.prg doesn't work.
Try to compile the code below and put it in your cgi-bir dir.
procedure main(...)
local s_cNewLine := HB_OSNewLine()
outstd( "CONTENT-TYPE: T
Lorenzo , could you try testcgi sample from test folder in SVN ?
Bruno
2010/4/13 Lorenzo Fiorini
> On Tue, Apr 13, 2010 at 3:38 PM, Bruno Luciani
> wrote:
>
> > or others cgi programs.
>
> I use Apache, Harbour and CGI every day and I can assure it works even
> better than other web solutions.
On Tue, Apr 13, 2010 at 3:38 PM, Bruno Luciani wrote:
> or others cgi programs.
I use Apache, Harbour and CGI every day and I can assure it works even
better than other web solutions.
outstd() and -gtcgi flag are all you need to start.
I can't say anything about THTML.
best regards,
Lorenzo
_
> [Tue Apr 13 14:46:33 2010] [error] [client 127.0.0.1] malformed header from
> script. Bad header=\x1b[0m\x1b[1;1H\x1b[?25hHTTP/1.0 200 O: testcgi
They seem to be console codes... like if not the correct GT is being used...
You can use wget to get the page and store in a file:
wget -O outputfil
The sample TestHtml works ok vailton
the problem is with , testcgi sample
or others cgi programs.
Bruno
2010/4/13 Vailton Renato
> Hi!
>
> See if this helps, look ShowResult() in this sample:
> http://www.harbour-project.org/samples/testhtml.prg.html
>
> Regards,
> Vailton Renato
>
> 2010/4/
Exactly this is the problem
Bruno
2010/4/13 marco bra
> Also here on apache2 on Ubuntu 9.10 32 bits
>
> More detailed error... seems there is something wrong in sent header:
>
> [Tue Apr 13 14:46:33 2010] [error] [client 127.0.0.1] malformed header from
> script. Bad header=\x1b[0m\x1b[1;1H\x1b
Also here on apache2 on Ubuntu 9.10 32 bits
More detailed error... seems there is something wrong in sent header:
[Tue Apr 13 14:46:33 2010] [error] [client 127.0.0.1] malformed header from
script. Bad header=\x1b[0m\x1b[1;1H\x1b[?25hHTTP/1.0 200 O: testcgi
Hth
Best regard,
Marco
__
Hi!
See if this helps, look ShowResult() in this sample:
http://www.harbour-project.org/samples/testhtml.prg.html
Regards,
Vailton Renato
2010/4/12 CarozoDeQuilmes :
> My 2 cent:
>
> Starting the Apache2.2 service
> The Apache2.2 service is running.
> ] Apache/2.2.15 (Win32) configured -- resumi
My 2 cent:
Starting the Apache2.2 service
The Apache2.2 service is running.
] Apache/2.2.15 (Win32) configured -- resuming normal operations
[Mon Apr 12 13:17:37 2010] [notice] Server built: Mar 4 2010 11:27:46
[Mon Apr 12 13:17:37 2010] [notice] Parent: Created child process 6532
[Mon Apr 12 13:
Nobody use CGI ?
Can anybody try to test the CGI sample that comes with harbour in test
folder
and say to me if work ?
Bruno
2010/4/11 Bruno Luciani
> I am just trying to compile and test , sample testcgi.prg from test folder
>
> and another samples of cgi , and only obtain this error from we
The sample testhtml works ok , but testcgi not
Bruno
2010/4/11 Bruno Luciani
> I am just trying to compile and test , sample testcgi.prg from test folder
>
> and another samples of cgi , and only obtain this error from web server
>
> My server works ok , because I test it with an sample Xharbou
To compile i am using: hbmk2 testcgi -lgtcgi
It is ok that
Bruno
2010/4/11 Bruno Luciani
> I am just trying to compile and test , sample testcgi.prg from test folder
>
> and another samples of cgi , and only obtain this error from web server
>
> My server works ok , because I test it with an
20 matches
Mail list logo