blob: 0139b81cc6285599d150fbc0c986ec3e4718477e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
Library simpletemplate;
{$mode objfpc}{$H+}
Uses
{$ifdef unix}
cthreads,
{$endif}
httpd,fpApache, webmodule;
Const
{ The following constant is used to export the module record. It must
always match the name in the LoadModule statement in the apache
configuration file(s). It is case sensitive !}
ModuleName='mod_simpletemplate';
{ The following constant is used to determine whether the module will
handle a request. It should match the name in the SetHandler statement
in the apache configuration file(s). It is not case sensitive. }
HandlerName=ModuleName;
Var
DefaultModule : module; {$ifdef unix} public name ModuleName;{$endif unix}
Exports defaultmodule name ModuleName;
{$R *.res}
begin
Application.ModuleName:=ModuleName;
Application.HandlerName:=HandlerName;
Application.SetModuleRecord(DefaultModule);
Application.Initialize;
end.
|