[Lazarus] fpweb basic Apache module on Ubuntu not working

Michael Van Canneyt michael at freepascal.org
Sun Sep 21 12:27:18 CEST 2008



On Sat, 20 Sep 2008, ABorka wrote:

> 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>

1. Do you export the mod_apache1 structure ?
2. Are you using the correct apache units ?

Michael.



More information about the Lazarus mailing list