[Lazarus] Web Module not works on Linux

Joost van der Sluis joost at cnoc.nl
Sat Nov 20 20:27:56 CET 2010


On Fri, 2010-11-19 at 23:31 +0100, michael.vancanneyt at wisa.be wrote:
> 
> On Fri, 19 Nov 2010, silvioprog wrote:
> 
> > Hi guys,
> >
> > Attached I send a project to reproduce the error. To reproduce the error,
> > adds in "cgitest.lpr" the directive:
> >
> > {$DEFINE SOLVES_ERROR}
> >
> > On Ubuntu-10.10 I receive this error:
> >
> > -------
> > Internal Server Error
> >
> > The server encountered an internal error or misconfiguration and was unable
> > to complete your request.
> >
> > Please contact the server administrator, webmaster at localhost and inform them
> > of the time the error occurred, and anything you might have done that may
> > have caused the error.
> >
> > More information about this error may be available in the server error log.
> > Apache/2.2.16 (Ubuntu) Server at localhost Port 80
> > -------
> >
> > In Windows (7) works normally.
> >
> > How can I fix this?
> >
> > PS. I'll need to use the unit Interfaces.
> 
> Well, you can not use it in a CGI application. 
> Interfaces is for GUI support. A CGI by definition has no GUI.
> 
> It makes no sense to use it. Why would you need that ?

For example to use the streaming mechanisms (lfm, resources)?

Compile for the widgetset 'nogui', it's made exactly for this purpose.

Joost.





More information about the Lazarus mailing list