2011/4/5 Mattias Gaertner <[email protected]>: > Look into your apache logs for more details.
The logs: In C:\xampp\apache\logs\access.log: ---------------------------------- ::1 - - [05/Apr/2011:20:48:45 -0300] "GET /cgi-bin/bug.cgi HTTP/1.1" 500 1319 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0" ---------------------------------- In C:\xampp\apache\logs\error.log: ---------------------------------- (...) [Tue Apr 05 20:47:33 2011] [notice] Child 5472: Starting thread to listen on port 80. [Tue Apr 05 20:47:33 2011] [notice] Child 5472: Starting thread to listen on port 80. [Tue Apr 05 20:48:45 2011] [error] [client ::1] Premature end of script headers: bug.cgi ---------------------------------- > Has the cgi script write permissions when running as apache user? > > Mattias Yes. My UAC is totaly disabled on Windows. To tests, I downloaded this DLL[1], and I put in "C:\xampp\cgi-bin\freetype-6.dll" and "C:\Windows\system32\freetype-6.dll". [1] http://www.dlldump.com/download-dll-files_new.php/dllfiles/F/freetype6.dll/2.1.7.1505r/download.html I changed my code to: procedure TMainFPWebModule.indexRequest(Sender: TObject; ARequest: TRequest; AResponse: TResponse; var Handled: Boolean); begin Handled := True; InitEngine; // If I comment this line, the error disappears. :o end; -- 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 ============================================= -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
