WebLaz - HTTP Server Application Error lazarus / 38-Networking and Web Programming ---------------------------------------------------------------------- dogriz · 2018-06-02 19:07 I created a simple HTTP Server Application (source code attached), but it just won't work. When I put the link localhost:8080 into web browser, I get the following error: Quotehttpproject1: ERROR The application encountered the following error: Error: Not found Stack trace: $00000000004A36EB $00000000004A2D4F ... The only thing I did is: - created a new Project/HTTP server Application and added DataModuleRequest procedure: Code: [Select]procedure TFPWebModule1.DataModuleRequest(Sender: TObject; ARequest: TRequest;   AResponse: TResponse; var Handled: Boolean); begin   // AResponse.ContentType := 'text/plain';   AResponse.Content := 'Greetings from Lazarus HTTP Server Application!';   Handled := True; end; Same problem is on Debian 64bit + FPC 3.1.1 + Lazarus Trunk and on Windows 10 64bit + FPC 3.0.4 + Lazarus 1.8.2. I read "Basic fpWeb Tutorial" by  Leledumbo, but I don't find anything wrong with the code. Can anyone point me to the right direction? ---------------------------------------------------------------------- heejit · 2018-06-02 19:45 Check following link : http://forum.lazarus.freepascal.org/index.php/topic,40240.msg277816.ht ml#msg277816 ---------------------------------------------------------------------- dogriz · 2018-06-02 19:59 Yes, that's it. Thanks! ---------------------------------------------------------------------- Leledumbo · 2018-06-02 21:22 Maybe I should start updating that tutorial. ---------------------------------------------------------------------- nummer8 · 2018-06-03 10:13 and/ or we could update the examples. ---------------------------------------------------------------------- dbannon · 2018-06-03 12:56 Easiest thing might be to add a note about this on the wiki. Its where people download the tutorial from so most likely to see it there. I'll do it tomorrow if no one beats me. Davo