[Lazarus] HREF and CGI not works to open files

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Jun 16 15:49:46 CEST 2011



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.




More information about the Lazarus mailing list