[Lazarus] HREF and CGI not works to open files
silvioprog
silvioprog at gmail.com
Thu Jun 16 19:37:23 CEST 2011
2011/6/16 <michael.vancanneyt at wisa.be>:
>
> On Thu, 16 Jun 2011, silvioprog wrote:
>
>> 2011/6/16 <michael.vancanneyt at wisa.be>:
>>>
>>> On Thu, 16 Jun 2011, Rafael Tuim Elias wrote:
>>>>
>>>> Dear Michael
>>>>
>>>> I changed the extension to cgi, but dont work.
>>>
>>> What do the log files of your webserver say ?
>>
>> My logs in attached.
>
> According to the log files, all went well when accessing your CGI:
>
> 127.0.0.1 - - [16/Jun/2011:09:47:35 -0300] "GET /cgi-bin/test.cgi HTTP/1.1"
> 200 254 "-"
>
> The code 200 on this line means that all is OK.
>
> Is the initial report correct ? It states that all goes well locally, and
> fails if you go through the server.
>
> I would expect that through the server all goes well, and locally it fails.
>
> (it must fail locally, the browser should not allow it)
>
> Michael.
I solved my problem with "<a
href="http://localhost/LWSHEAPTRACE.TXT">this file...</a>" in my CGI.
Now I'll generate the LWSHEAPTRACE.TXT file in htdocs.
Thxs to all. :)
--
Silvio Clécio
===============================================
Blog - <silvioprog.com.br>
Twitter - <twitter.com/silvioprog>
LazSolutions - <code.google.com/p/lazsolutions>
Lazarus-BR - <groups.google.com.br/group/lazarus-br?hl=pt-BR>
===============================================
* Conheça nosso canal IRC sobre Lazarus: #lazarus-br *
===============================================
More information about the Lazarus
mailing list