[Lazarus] RE : HREF and CGI not works to open files

Ludo Brands ludo.brands at free.fr
Thu Jun 16 15:22:44 CEST 2011


This has nothing to do with the server. The browser is blocking access to
local files from remote pages. Place test.html on your server and you won't
be able to access the local file neither.

If you are using firefox more info here:
http://kb.mozillazine.org/Links_to_local_pages_don%27t_work

Ludo

> -----Message d'origine-----
> De : silvioprog [mailto:silvioprog at gmail.com] 
> Envoyé : jeudi 16 juin 2011 12:49
> À : Lazarus mailing list
> Objet : [Lazarus] HREF and CGI not works to open files
> 
> 
> 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)
> 
> 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