hi again
build line on ubuntu
fpc -dFPCAPACHE_2_2 mod_hello.pp
and got this error on load module in apache
--
apache2: Syntax error on line 284 of /etc/apache2/apache2.conf: API module
structure 'test_module' in file /etc/apache2/modules/mod_hello.dll is
garbled - expected signature 41503232 but sa
Hello Michael,
Wednesday, October 7, 2009, 1:58:50 PM, you wrote:
>>
>>
>>> Correct, because the function is called apr_table_get (note the r),
>>> and is located in unit apr, not in httpd.
>>
>>
>> and please help also
>> function ap_hard_timeout. not found in httpd22 directory. then i find
>>
On Wed, 7 Oct 2009, Alexey Voytsehovich wrote:
Hello Michael,
Wednesday, October 7, 2009, 10:31:26 AM, you wrote:
Correct, because the function is called apr_table_get (note the r),
and is located in unit apr, not in httpd.
and please help also
function ap_hard_timeout. not found in ht
Hello Michael,
Wednesday, October 7, 2009, 10:31:26 AM, you wrote:
> Correct, because the function is called apr_table_get (note the r),
> and is located in unit apr, not in httpd.
and please help also
function ap_hard_timeout. not found in httpd22 directory. then i find
this function or rep
Hello Michael,
Wednesday, October 7, 2009, 10:31:26 AM, you wrote:
> Correct, because the function is called apr_table_get (note the r),
> and is located in unit apr, not in httpd.
nice. it`s working. thanks
--
Best regards,
Alexey Voytsehovichmailto:iron...@gma
On Wed, 7 Oct 2009, Alexey Voytsehovich wrote:
Hello Michael,
Wednesday, October 7, 2009, 10:13:08 AM, you wrote:
On the command-line, define one of FPCAPACHE_2_0 or FPCAPACHE_2_2 (as in
-dFPCAPACHE_2_0)
(or delete the units in units/httpd-1.3)
build string
fpc -dFPCAPACHE_2_2 mod_hello
Hello Michael,
Wednesday, October 7, 2009, 10:13:08 AM, you wrote:
> On the command-line, define one of FPCAPACHE_2_0 or FPCAPACHE_2_2 (as in
> -dFPCAPACHE_2_0)
> (or delete the units in units/httpd-1.3)
build string
fpc -dFPCAPACHE_2_2 mod_hello.pp
all unit code
--
library mod_hello;
{$ifdef
On Wed, 7 Oct 2009, Alexey Voytsehovich wrote:
hi.
this code
--
uses SysUtils, httpd;
function read_Post(r: Prequest_rec; data: string): boolean;
var
types: string;
begin
Result := True;
if (r^.method_number <> M_POST) then
Exit;
ap_set_content_type(r, 'text/html');
types := ap_tabl
hi.
this code
--
uses SysUtils, httpd;
function read_Post(r: Prequest_rec; data: string): boolean;
var
types: string;
begin
Result := True;
if (r^.method_number <> M_POST) then
Exit;
ap_set_content_type(r, 'text/html');
types := ap_table_get(r^.headers_in, 'Content-Type');
end;
--