[Lazarus] fpweb basic Apache module on Ubuntu not working
ABorka
fpc-devel at aborka.com
Sun Sep 21 12:44:46 CEST 2008
Well, the real question is whether Lazarus does that correctly when one
creates a vanilla apache module from the file menu and compiles it right
away unchanged. On Linux it did not work for me, maybe someone else could
confirm or deny.
>
>
> 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.
> _______________________________________________
> Lazarus mailing list
> Lazarus at lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
More information about the Lazarus
mailing list