[Lazarus] Patch to print selection in IDE.

zeljko zeljko at holobit.net
Sun Sep 21 17:58:12 CEST 2008


Hi,

I've created a basic apache module using Lazarus "file -> new -> apache 
module" (after adding the fpweb package/components to Lazarus), created 
a web action which replies with a '<html>hello</html>' and compiled it.
However, when I try to load apache2 it says "Can't locate API module 
structure" at the httpd.conf line where the created module would be loaded:
httpd.conf:

LoadModule mod_apache1 "/path to the module/mod_apache1"
<Location /myapache>
     SetHandler mod_apache1
     Order allow,deny
     Allow from all
</Location>

Tried both in Ubuntu 8.04 and latest Debian stable. It's the same in 
both. The same code compiled and run under windows is working.
Used the latest trunk checkout for both FPC and Lazarus on Ubuntu.

Any suggestions to make the sample basic apache module work from Lazarus 
on Linux? Is it the same for anyone else?

AB




More information about the Lazarus mailing list