[Lazarus] HREF and CGI not works to open files

michael.vancanneyt at wisa.be michael.vancanneyt at wisa.be
Thu Jun 16 14:11:38 CEST 2011



On Thu, 16 Jun 2011, silvioprog wrote:

> Hi.
>
> If I open the file (in attached) "test.html" and I click in "this
> file...", works OK. But, if I click e "this file..." from a
> "http://localhost/cgi-bin/test.exe" not works. :(
>
> All files to reproduce problem in attached.
>
> Steps to reproduce the error:
>
> 1. Open the file "test.html" and click in "this file..."; (works)
> 2. Compile "test.lpi" and copy the EXE to your cgi-bin folder, open
> the link "http://localhost/cgi-bin/test.exe" and click in "this
> file..."; (not works)

Try changing the extension to .cgi (in the HREF and the actual filename)

Michael.
>
> Thx.
>
> -- 
> 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