CGI

Für Fragen zur Programmiersprache auf welcher Lazarus aufbaut
Vincent
Beiträge: 17
Registriert: Do 20. Sep 2007, 14:05

Beitrag von Vincent »

Maybe I spoke too early. Setting the events doesn't make it work yet. I wait until Michael van Canneyt has made a working example.

mschnell
Beiträge: 3444
Registriert: Mo 11. Sep 2006, 10:24
OS, Lazarus, FPC: svn (Window32, Linux x64, Linux ARM (QNAP) (cross+nativ)
CPU-Target: X32 / X64 / ARMv5
Wohnort: Krefeld

Beitrag von mschnell »

> If you fix the first (calling it like apache does with the correct environment variables), you get the second exception: "Error: : No CGI request handler set."

OK, if those variables are set I suppose it will call CGIDataModule.create. Here we can define an event.

-Michael

mschnell
Beiträge: 3444
Registriert: Mo 11. Sep 2006, 10:24
OS, Lazarus, FPC: svn (Window32, Linux x64, Linux ARM (QNAP) (cross+nativ)
CPU-Target: X32 / X64 / ARMv5
Wohnort: Krefeld

Beitrag von mschnell »

Unfortunately now with a new Lazarus / FP 2 installation I get the "unable to stream" error I did get in Windows but not in Linux before. So I can't go on testing. I do know that you fixed that bug, but I can't access the SNV.

-Michael

Antworten