File: httpd.conf.src

package info (click to toggle)
libembperl-perl 2.0rc3-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 5,688 kB
  • ctags: 5,161
  • sloc: ansic: 20,422; perl: 10,064; makefile: 5,134; cpp: 467; xml: 49; sh: 14
file content (788 lines) | stat: -rw-r--r-- 14,955 bytes parent folder | download
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788

# $Id: httpd.conf.src,v 1.57 2005/02/28 06:31:00 richter Exp $

print OFH <<EOD ;
#
# Testconfig for Embperl make test
#
# This file is automaticly generated each time you run make test/make start/make stop
#

ServerRoot \"$EPPATH/test\"
ServerName localhost
DocumentRoot \"$EPPATH/test\"
Listen $EPPORT
EOD

if ($^O ne 'MSWin32')
	{
print OFH <<EOD ;

User $EPUSER
Group $EPGROUP

MinSpareServers 1
MaxSpareServers 30
StartServers 3
MaxClients 10
MaxRequestsPerChild 0


EOD
    }

#print OFH "Listen ", $EPPORT , "\n" ;
print OFH "Listen ", $EPPORT + 3, "\n" ;
print OFH "Listen ", $EPPORT + 4, "\n" ;
print OFH "Listen ", $EPPORT + 5, "\n" ;

if ($EPMODPERL && ($EPMODPERL !~ /perl_module/) && !$MP2)
    {
    print OFH <<EOD ;

PerlSetEnv EMBPERL_SRC \"$EPPATH\"
SetEnv EMBPERL_SRC \"$EPPATH\"
PerlSetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\" 
SetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\" 

#Load Embperl first, when mod_perl is staticly linked;
PerlRequire \"$EPPATH/test/conf/$EPSTARTUP\"
EOD

    }

print OFH "$EPMODPERL\n" ;

##print OFH "PerlModule Apache2\n" ;

print OFH "LoadModule embperl_module \"$EPPATH/blib/arch/auto/Embperl/Embperl.so\"\n" if ($MP2) ;

##print OFH "PassEnv ACTION_PREFIX\n" ;

print OFH <<EOD ;

DirectoryIndex index.htm  


$EPSTRONGHOLDKEY

#-Tw
PerlTaintCheck On
PerlWarn On


PerlSetEnv EMBPERL_SRC \"$EPPATH\"
SetEnv EMBPERL_SRC \"$EPPATH\"
PerlSetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\" 
SetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\" 

PerlRequire \"$EPPATH/test/conf/$EPSTARTUP\"
#PerlModule causes some warning with Perl 5.005_03
#PerlModule Embperl 

Embperl_UseEnv off

EMBPERL_DEBUG $EPDEBUG
#EMBPERL_VIRTLOG /embperl/log
EMBPERL_LOG \"$EPPATH/test/tmp/test.log\"
EMBPERL_INPUT_ESCMODE 7

ErrorLog tmp/httpd.err.log
#ScriptLog \"$EPPATH/test/tmp/httpd.script.log\"
PidFile tmp/httpd.pid
EOD





if (!$MP2)

    {

print OFH <<EOD ;

AccessConfig conf/null
ResourceConfig conf/null
EOD

    }



print OFH <<EOD ;

TypesConfig conf/null
LockFile tmp/httpd.lock


# needs mod_log_config

#CustomLog tmp/httpd.acc.log std

#LogFormat \"%h %l %u %t \\"%r\\" %s %b %{connection}o pid=%P %Tsec\" std


EOD


if ($EPSESSIONXVERSION)
    {
print OFH <<EOD ;

EMBPERL_SESSION_CLASSES "File Null"
EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
EOD
    }
else
    {
print OFH <<EOD ;

EMBPERL_SESSION_HANDLER_CLASS no
EOD
    }


print OFH <<EOD ;

Embperl_Cookie_Path /
EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)


<Location /embperl/log>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
</Location>

 
AddType text/html .html
AddType text/html .htm
AddType text/html .xhtm

Alias /embperl/asclibxslt \"$EPPATH/test/html/pod\"
Alias /embperl/ascxalan \"$EPPATH/test/html/pod\"
Alias /embperl/libxslt \"$EPPATH/test/html/xml\"
Alias /embperl/xalan \"$EPPATH/test/html/xml\"
Alias /embperl/uidurl/ \"$EPPATH/test/html/sidurl/\"
Alias /embperl/suidurl/ \"$EPPATH/test/html/sidurl/\"
Alias /embperl/sub/ \"$EPPATH/test/html/\"
Alias /embperl/ \"$EPPATH/test/html/\"
Alias /embperl2/ \"$EPPATH/test/html2/\"
Alias /embperlmail/ \"$EPPATH/test/html/\"

<Location /embperl>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
</Location>

<Location /embperl/sub>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
</Location>

<Location /embperl2>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
</Location>

<Location /embperl/safe>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 4
</Location>

<Location /embperl/libxslt>
EMBPERL_RECIPE EmbperlLibXSLT
EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/podold.xsl\"
</Location>

<Location /embperl/asclibxslt>
EMBPERL_RECIPE EmbperlLibXSLT
EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/pod.xsl\"
EMBPERL_SYNTAX POD
</Location>

<Location /embperl/xalan>
EMBPERL_RECIPE EmbperlXalanXSLT
EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/podold.xsl\"
</Location>

<Location /embperl/ascxalan>
EMBPERL_RECIPE EmbperlXalanXSLT
EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/pod.xsl\"
EMBPERL_SYNTAX POD
</Location>

<Location /embperl/opmask>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 12
EMBPERL_COMPARTMENT TEST
EMBPERL_PACKAGE TEST
</Location>

<Location /embperl/rawinput>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 16
EMBPERL_INPUT_ESCMODE 0
</Location>

<Location /embperl/nochdir>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 384
</Location>

<Location /embperl/nph>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 64
</Location>

<Location /embperl/stdout>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
#EMBPERL_OPTIONS 16384
EMBPERL_OPTIONS 16400
EMBPERL_ESCMODE 0
PerlSetupEnv Off
</Location>

<Location /embperl/allform>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 8192
</Location>

<Location /embperl/noerr>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 2
</Location>

<Location /embperl/errdoc>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 262144
ErrorDocument 500 /html/errmsg.htm
</Location>

<Location /embperl/errdoc/epl>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_OPTIONS 262144
ErrorDocument 500 /embperl/errmsg2.htm
</Location>

<Location /embperl/match>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_URIMATCH \\.htm\$
</Location>

<Location /embperl/registry>
SetHandler perl-script
EOD



print OFH "PerlHandler ", $MP2?'ModPerl':'Apache', "::Registry\n" ;




print OFH <<EOD ;

Options ExecCGI
</Location>

<Location /embperl/EmbperlObject>
EMBPERL_APPNAME epo1
EMBPERL_OBJECT_BASE epobase.htm
EMBPERL_OBJECT_FALLBACK epofallback.htm
EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
SetHandler perl-script
PerlHandler Embperl::Object 
Options ExecCGI
</Location>

<Location /embperl/EmbperlObject/base3>
EMBPERL_APPNAME epo3
EMBPERL_OBJECT_BASE epobase3.htm
EMBPERL_OBJECT_STOPDIR \"$EPPATH/test/html/EmbperlObject\"
EMBPERL_OBJECT_ADDPATH \"$EPPATH/test/html/EmbperlObject/lib\"
EMBPERL_OBJECT_FALLBACK epofallback.htm
EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
SetHandler perl-script
PerlHandler Embperl::Object 
Options ExecCGI
</Location>

<Location /embperl/EmbperlObject/base2>
EMBPERL_APPNAME epo2
EMBPERL_OBJECT_BASE epobase2.htm
EMBPERL_OBJECT_STOPDIR \"$EPPATH/test/html/EmbperlObject\"
EMBPERL_OBJECT_ADDPATH \"$EPPATH/test/html/EmbperlObject/lib\"
EMBPERL_OBJECT_FALLBACK epofallback.htm
EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
SetHandler perl-script
PerlHandler Embperl::Object 
Options ExecCGI
</Location>


<Location /embperl/EmbperlObject/errdoc>
EMBPERL_APPNAME epo1
EMBPERL_OBJECT_BASE epobase.htm
EMBPERL_OBJECT_FALLBACK epofallback.htm
EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
SetHandler perl-script
PerlHandler Embperl::Object 
Options ExecCGI
EMBPERL_OPTIONS 262144
ErrorDocument 500 /embperl/errmsg2.htm
</Location>


<Location /embperl/SSI/>
EMBPERL_SYNTAX SSI
</Location>

<Location /embperl/SSIEP/>
EMBPERL_SYNTAX "Embperl SSI"
</Location>

<Location /embperl/pod/>
EMBPERL_SYNTAX POD
</Location>

<Location /embperl/app/>
EMBPERL_APPNAME TestApp
EMBPERL_APP_HANDLER_CLASS Embperl::TEST::App
</Location>

<Location /embperl/sidurl>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_SESSION_MODE 0x20
</Location>

<Location /embperl/uidurl>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_SESSION_MODE 0x02
</Location>

<Location /embperl/suidurl>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_SESSION_MODE 0x22
</Location>

<Location /embperlmail>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_APPNAME MailApp
EMBPERL_MAILHOST mail.i.ecos.de
EMBPERL_MAIL_ERRORS_TO richter
EMBPERL_MAIL_ERRORS_LIMIT 2
EMBPERL_MAIL_ERRORS_RESET_TIME 20
EMBPERL_MAIL_ERRORS_RESEND_TIME 60
</Location>

EOD

print OFH "<VirtualHost _default_:", $EPPORT + 3, ">\n" ;
print OFH <<EOD ;
EMBPERL_APPNAME VirtHost1
EMBPERL_INPUT_ESCMODE 15
</VirtualHost>

EOD

print OFH "<VirtualHost _default_:", $EPPORT + 4, ">\n" ;
print OFH <<EOD ;
EMBPERL_APPNAME VirtHost2
EMBPERL_INPUT_ESCMODE 31
EMBPERL_OBJECT_BASE p4
</VirtualHost>

EOD

print OFH "<VirtualHost _default_:", $EPPORT + 5, ">\n" ;
print OFH <<EOD ;
EMBPERL_INPUT_ESCMODE 63
EMBPERL_OBJECT_BASE p5
</VirtualHost>

EOD


print OFH <<EOD ;
### CGI setup ###

Alias /cgi-bin/uidurl/ \"$EPPATH/test/html/sidurl/\"
Alias /cgi-bin/suidurl/ \"$EPPATH/test/html/sidurl/\"
Alias /cgi-bin/ \"$EPPATH/test/html/\"
Alias /cgi-bin2/ \"$EPPATH/test/html2/\"
Alias /cgi-bin-32/ \"$EPPATH/test/html/\"
ScriptAlias /cgi/ \"$EPPATH/\"

<Location /cgi-bin>
Action text/html /cgi/embpcgi.test.pl
Options ExecCGI
SetEnv EMBPERL_DEBUG $EPDEBUG
SetEnv EMBPERL_LOG \"$EPPATH/test/tmp/test.log\"
SetEnv EMBPERL_INPUT_ESCMODE 7
SetEnv Embperl_Cookie_Path /
SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)

EOD

if ($EPSESSIONXVERSION)
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_CLASSES "File Null"
SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
EOD
    }
else
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_HANDLER_CLASS no
EOD
    }


print OFH <<EOD ;

SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)

</Location>

<Location /cgi-bin2>
Action text/html /cgi/embpcgi.test.pl
Options ExecCGI
EOD

if ($EPSESSIONVERSION && ($EPSESSIONVERSION > 1))
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_CLASSES "File Null"
SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
EOD
    }
else
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_HANDLER_CLASS no
EOD
    }


print OFH <<EOD ;

SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)

</Location>

<Location /cgi-bin/rawinput>
SetEnv EMBPERL_OPTIONS 16
SetEnv EMBPERL_INPUT_ESCMODE 0
</Location>


<Location /cgi-bin/EmbperlObject>
Action text/html /cgi/epocgi.test.pl
Options ExecCGI
SetEnv EMBPERL_OBJECT_BASE epobase.htm
SetEnv EMBPERL_OBJECT_FALLBACK epofallback.htm
SetEnv EMBPERL_INPUT_ESCMODE 7
</Location>


<Location /cgi-bin-32>
Action text/html /cgi/embpcgi.test.bat
Options ExecCGI
</Location>


<Location /cgi-bin/SSI/>
SetEnv EMBPERL_SYNTAX SSI
</Location>

<Location /cgi-bin/SSIEP/>
SetEnv EMBPERL_SYNTAX "Embperl SSI"
</Location>

<Location /cgi-bin/pod/>
SetEnv EMBPERL_SYNTAX POD
</Location>


### fastcgi setup ###

Alias /fastcgi-bin/uidurl/ \"$EPPATH/test/html/sidurl/\"
Alias /fastcgi-bin/suidurl/ \"$EPPATH/test/html/sidurl/\"
Alias /fastcgi-bin/ \"$EPPATH/test/html/\"
Alias /fastcgi-bin2/ \"$EPPATH/test/html2/\"
Alias /fastcgi-bin-32/ \"$EPPATH/test/html/\"
#ScriptAlias /cgi/ \"$EPPATH/\"

<Location /fastcgi-bin>
Action text/html /cgi/embpfastcgi.test.pl
Options ExecCGI
SetEnv EMBPERL_DEBUG $EPDEBUG
SetEnv EMBPERL_LOG \"$EPPATH/test/tmp/test.log\"
SetEnv EMBPERL_INPUT_ESCMODE 7
SetEnv Embperl_Cookie_Path /
SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)

EOD

if ($EPSESSIONXVERSION)
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_CLASSES "File Null"
SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
EOD
    }
else
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_HANDLER_CLASS no
EOD
    }


print OFH <<EOD ;

SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)

</Location>

<Location /fastcgi-bin2>
Action text/html /cgi/embpfastcgi.test.pl
Options ExecCGI
EOD

if ($EPSESSIONVERSION && ($EPSESSIONVERSION > 1))
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_CLASSES "File Null"
SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
EOD
    }
else
    {
print OFH <<EOD ;

SetEnv EMBPERL_SESSION_HANDLER_CLASS no
EOD
    }


print OFH <<EOD ;

SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)

</Location>

<Location /fastcgi-bin/rawinput>
SetEnv EMBPERL_OPTIONS 16
SetEnv EMBPERL_INPUT_ESCMODE 0
</Location>


<Location /fastcgi-bin/EmbperlObject>
Action text/html /cgi/epofastcgi.test.pl
Options ExecCGI
SetEnv EMBPERL_OBJECT_BASE epobase.htm
SetEnv EMBPERL_OBJECT_FALLBACK epofallback.htm
</Location>


<Location /fastcgi-bin-32>
Action text/html /cgi/embpfastcgi.test.bat
Options ExecCGI
</Location>


<Location /fastcgi-bin/SSI/>
SetEnv EMBPERL_SYNTAX SSI
</Location>

<Location /fastcgi-bin/SSIEP/>
SetEnv EMBPERL_SYNTAX "Embperl SSI"
</Location>

<Location /fastcgi-bin/pod/>
SetEnv EMBPERL_SYNTAX POD
</Location>


### Status ###

<Location /perl-status>
SetHandler perl-script
PerlHandler Apache::Status
PerlSetVar StatusOptionsAll On
</Location>

<Location /server-status>
SetHandler server-status
</Location>

<Location /server-info>
SetHandler server-info
</Location>


# redirect all languages of the web to the same directory
Alias /eg/web/de/ \"$EPPATH/eg/web/\"
Alias /eg/web/en/ \"$EPPATH/eg/web/\"

# path for examples
Alias /eg/ \"$EPPATH/eg/\"




#
# Configuration for example access
#

<Location /eg>
EMBPERL_XSLTPROC libxslt
</Location>

<Location /eg/x>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI FollowSymLinks
EMBPERL_INPUT_ESCMODE 7
EMBPERL_OPTIONS 262288
</Location>


<Location /eg/web>
EMBPERL_APPNAME EmbperlWeb
EMBPERL_OPTIONS 16
EMBPERL_DEBUG 0
EMBPERL_INPUT_ESCMODE 0
EMBPERL_ALLOW .
EMBPERL_OBJECT_BASE base.epl
EMBPERL_OBJECT_APP  epwebapp.pl
EMBPERL_OBJECT_STOPDIR \"$EPPATH/eg/web\"
EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$|\\.xml\$|\\.pod\$|/$\"
SetHandler perl-script
PerlHandler Embperl::Object 
Options ExecCGI
</Location>

<Location /eg/web/conf>
EMBPERL_APPNAME EmbperlConf
EMBPERL_RECIPE EmbperlLibXSLT
EMBPERL_XSLTSTYLESHEET \"$EPPATH/eg/web/conf/pod.xsl\"
EMBPERL_SYNTAX POD
EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$|\\.xml\$|\\.pod\$|/$\"
EMBPERL_PATH \"$EPPATH/eg/web/conf;$EPPATH/eg/web\"
sethandler perl-script
perlhandler Embperl
</Location>

<Location /eg/xml>
SetHandler perl-script
PerlHandler Embperl
Options ExecCGI
EMBPERL_XSLTSTYLESHEET \"$EPPATH/eg/xml/pod.xsl\"
EMBPERL_XSLTPROC libxslt
EMBPERL_RECIPE XSLT
</Location>


#<Location /eg/images/aim>
#
#PerlSetVar AIMParameter \"pointsize=14 font=$EPPATH/../fonts/OCRAEXT.ttf\"
#
##PerlSetVar AIMParameter \"pointsize=14 gravity=left font=$EPPATH/../fonts/OCRAEXT.ttf\"
#PerlSetVar AIMCacheDir  \"$EPPATH/eg/images/aim/cache\"
#PerlSetVar AIMDebug 1
#PerlFixupHandler Apache::ImageMagick
#
#</location>




### misc ###

<IfModule apache_ssl.c>
SSLDisable
SSLCacheServerPort gcache_port
SSLCacheServerPath \"$EPAPACHESRC/modules/ssl/gcache\"
</IfModule>

<IfModule mod_jserv.c>
ApJServManual on
ApJServSecretKey DISABLED
ApJServLogFile /dev/null
</IfModule>

<IfModule mod_dav.c>
DavLockDB tmp/DAVLockDB
<Location /dav>
DAV on
</Location>

</IfModule>


EOD

if (!$EPSTRONGHOLDKEY && $EPSSLDISABLE)
    {
print OFH <<EOD ;
<IfModule mod_ssl.c>
SSLDisable
SSLCacheServerPort $EPPORT2
SSLCacheServerPath tmp
</IfModule>
EOD
    }