Debian Codegraph @

test/conf/httpd.conf.src

raw
1
2 # $Id: httpd.conf.src 1571436 2014-02-24 20:55:11Z richter $
3
4 print OFH <<EOD ;
5 #
6 # Testconfig for Embperl make test
7 #
8 # This file is automatically generated each time you run make test/make start/make stop
9 #
10
11 ServerRoot \"$EPPATH/test\"
12 ServerName localhost
13 DocumentRoot \"$EPPATH/test\"
14 Listen $EPPORT
15 EOD
16
17 if ($^O ne 'MSWin32')
18 {
19 print OFH <<EOD ;
20
21 User $EPUSER
22 Group $EPGROUP
23
24 MinSpareServers 1
25 MaxSpareServers 30
26 StartServers 3
27 MaxClients 10
28 MaxRequestsPerChild 0
29
30
31 EOD
32 }
33
34 #print OFH "Listen ", $EPPORT , "\n" ;
35 print OFH "Listen ", $EPPORT + 3, "\n" ;
36 print OFH "Listen ", $EPPORT + 4, "\n" ;
37 print OFH "Listen ", $EPPORT + 5, "\n" ;
38
39 if ($EPMODPERL && ($EPMODPERL !~ /perl_module/) && !$MP2)
40 {
41 print OFH <<EOD ;
42 PerlSetEnv EMBPERL_SRC \"$EPPATH\"
43 SetEnv EMBPERL_SRC \"$EPPATH\"
44 PerlSetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\"
45 SetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\"
46
47 #Load Embperl first, when mod_perl is statically linked;
48 PerlRequire \"$EPPATH/test/conf/$EPSTARTUP\"
49 EOD
50
51 }
52
53 print OFH "$EPMODPERL\n" ;
54
55 ##print OFH "PerlModule Apache2\n" ;
56
57 print OFH "LoadModule embperl_module \"$EPPATH/blib/arch/auto/Embperl/Embperl.so\"\n" if ($MP2) ;
58
59 ##print OFH "PassEnv ACTION_PREFIX\n" ;
60 print OFH "PerlPassEnv TEST_PRELOAD\n" ;
61
62 print OFH <<EOD ;
63
64 DirectoryIndex index.htm
65 #PerlSwitches -Dm
66
67
68 $EPSTRONGHOLDKEY
69
70 #-Tw
71 EOD
72
73 print OFH "PerlTaintCheck On\n" if (!$ENV{NOTAINT}) ;
74
75 print OFH <<EOD ;
76 PerlWarn On
77
78
79 PerlSetEnv EMBPERL_SRC \"$EPPATH\"
80 SetEnv EMBPERL_SRC \"$EPPATH\"
81 PerlSetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\"
82 SetEnv DMALLOC_OPTIONS \"log=$EPPATH/test/tmp/httpd.dmalloc.log,debug=0x3f03\"
83
84 PerlRequire \"$EPPATH/test/conf/$EPSTARTUP\"
85 #PerlModule causes some warning with Perl 5.005_03
86 #PerlModule Embperl
87
88 Embperl_UseEnv off
89
90 EMBPERL_DEBUG $EPDEBUG
91 #EMBPERL_VIRTLOG /embperl/log
92 EMBPERL_LOG \"$EPPATH/test/tmp/test.log\"
93 EMBPERL_INPUT_ESCMODE 7
94
95 ErrorLog tmp/httpd.err.log
96 #ScriptLog \"$EPPATH/test/tmp/httpd.script.log\"
97 PidFile tmp/httpd.pid
98 EOD
99
100
101
102
103
104 if (!$MP2)
105
106 {
107
108 print OFH <<EOD ;
109
110 AccessConfig conf/null
111 ResourceConfig conf/null
112 EOD
113
114 }
115
116
117
118 print OFH <<EOD ;
119
120 TypesConfig conf/null
121 EOD
122
123 if ($EPAPACHEVERSION !~ /2\.4\./)
124 {
125 print OFH "LockFile tmp/httpd.lock\n" ;
126
127 }
128
129 print OFH <<EOD ;
130
131
132
133 # needs mod_log_config
134
135 #CustomLog tmp/httpd.acc.log std
136
137 #LogFormat \"%h %l %u %t \\"%r\\" %s %b %{connection}o pid=%P %Tsec\" std
138
139
140 EOD
141
142
143 if ($EPSESSIONXVERSION)
144 {
145 print OFH <<EOD ;
146
147 EMBPERL_SESSION_CLASSES "File Null"
148 EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
149 EOD
150 }
151 else
152 {
153 print OFH <<EOD ;
154
155 EMBPERL_SESSION_HANDLER_CLASS no
156 EOD
157 }
158
159
160 print OFH <<EOD ;
161
162 Embperl_Cookie_Path /
163 Embperl_Cookie_Expires "+1d"
164 EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)
165 Embperl_Top_Include "use strict;"
166
167 <Location /embperl/log>
168 SetHandler perl-script
169 PerlHandler Embperl
170 Options ExecCGI
171 </Location>
172
173
174 AddType text/html .html
175 AddType text/html .htm
176 AddType text/html .xhtm
177
178 Alias /embperl/asclibxslt \"$EPPATH/test/html/pod\"
179 Alias /embperl/ascxalan \"$EPPATH/test/html/pod\"
180 Alias /embperl/libxslt \"$EPPATH/test/html/xml\"
181 Alias /embperl/xalan \"$EPPATH/test/html/xml\"
182 Alias /embperl/uidurl/ \"$EPPATH/test/html/sidurl/\"
183 Alias /embperl/suidurl/ \"$EPPATH/test/html/sidurl/\"
184 Alias /embperl/sub/ \"$EPPATH/test/html/\"
185 Alias /embperl/ \"$EPPATH/test/html/\"
186 Alias /embperl2/ \"$EPPATH/test/html2/\"
187 Alias /embperlmail/ \"$EPPATH/test/html/\"
188
189 <Location /embperl>
190 SetHandler perl-script
191 PerlHandler Embperl
192 Options ExecCGI
193 </Location>
194
195 <Location /embperl/sub>
196 SetHandler perl-script
197 PerlHandler Embperl
198 Options ExecCGI
199 </Location>
200
201 <Location /embperl2>
202 SetHandler perl-script
203 PerlHandler Embperl
204 Options ExecCGI
205 </Location>
206
207 <Location /embperl/safe>
208 SetHandler perl-script
209 PerlHandler Embperl
210 Options ExecCGI
211 EMBPERL_OPTIONS 4
212 </Location>
213
214 <Location /embperl/libxslt>
215 EMBPERL_RECIPE EmbperlLibXSLT
216 EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/podold.xsl\"
217 </Location>
218
219 <Location /embperl/asclibxslt>
220 EMBPERL_RECIPE EmbperlLibXSLT
221 EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/pod.xsl\"
222 EMBPERL_SYNTAX POD
223 </Location>
224
225 <Location /embperl/xalan>
226 EMBPERL_RECIPE EmbperlXalanXSLT
227 EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/podold.xsl\"
228 </Location>
229
230 <Location /embperl/ascxalan>
231 EMBPERL_RECIPE EmbperlXalanXSLT
232 EMBPERL_XSLTSTYLESHEET \"$EPPATH/test/html/xml/pod.xsl\"
233 EMBPERL_SYNTAX POD
234 </Location>
235
236 <Location /embperl/opmask>
237 SetHandler perl-script
238 PerlHandler Embperl
239 Options ExecCGI
240 EMBPERL_OPTIONS 12
241 EMBPERL_COMPARTMENT TEST
242 EMBPERL_PACKAGE TEST
243 </Location>
244
245 <Location /embperl/rawinput>
246 SetHandler perl-script
247 PerlHandler Embperl
248 Options ExecCGI
249 EMBPERL_OPTIONS 16
250 EMBPERL_INPUT_ESCMODE 0
251 </Location>
252
253 <Location /embperl/chdir>
254 SetHandler perl-script
255 PerlHandler Embperl
256 Options ExecCGI
257 EMBPERL_OPTIONS 0x10000000
258 </Location>
259
260 <Location /embperl/nochdir>
261 SetHandler perl-script
262 PerlHandler Embperl
263 Options ExecCGI
264 EMBPERL_OPTIONS 384
265 </Location>
266
267 <Location /embperl/nph>
268 SetHandler perl-script
269 PerlHandler Embperl
270 Options ExecCGI
271 EMBPERL_OPTIONS 64
272 </Location>
273
274 <Location /embperl/stdout>
275 SetHandler perl-script
276 PerlHandler Embperl
277 Options ExecCGI
278 #EMBPERL_OPTIONS 16384
279 EMBPERL_OPTIONS 16400
280 EMBPERL_ESCMODE 0
281 PerlSetupEnv Off
282 </Location>
283
284 <Location /embperl/allform>
285 SetHandler perl-script
286 PerlHandler Embperl
287 Options ExecCGI
288 EMBPERL_OPTIONS 8192
289 </Location>
290
291 <Location /embperl/noerr>
292 SetHandler perl-script
293 PerlHandler Embperl
294 Options ExecCGI
295 EMBPERL_OPTIONS 2
296 </Location>
297
298 <Location /embperl/errdoc>
299 SetHandler perl-script
300 PerlHandler Embperl
301 Options ExecCGI
302 EMBPERL_OPTIONS 262144
303 ErrorDocument 500 /html/errmsg.htm
304 </Location>
305
306 <Location /embperl/errdoc/epl>
307 SetHandler perl-script
308 PerlHandler Embperl
309 Options ExecCGI
310 EMBPERL_OPTIONS 262144
311 ErrorDocument 500 /embperl/errmsg2.htm
312 </Location>
313
314 <Location /embperl/match>
315 SetHandler perl-script
316 PerlHandler Embperl
317 Options ExecCGI
318 EMBPERL_URIMATCH \\.htm\$
319 </Location>
320
321 <Location /embperl/registry>
322 SetHandler perl-script
323 EOD
324
325
326
327 print OFH "PerlHandler ", $MP2?'ModPerl':'Apache', "::Registry\n" ;
328
329
330
331
332 print OFH <<EOD ;
333
334 Options ExecCGI
335 </Location>
336
337 <Location /embperl/EmbperlObject>
338 EMBPERL_APPNAME epo1
339 EMBPERL_OBJECT_BASE epobase.htm
340 EMBPERL_OBJECT_FALLBACK epofallback.htm
341 EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
342 SetHandler perl-script
343 PerlHandler Embperl::Object
344 Options ExecCGI
345 </Location>
346
347 <Location /embperl/EmbperlObject/base3>
348 EMBPERL_APPNAME epo3
349 EMBPERL_OBJECT_BASE epobase3.htm
350 EMBPERL_OBJECT_STOPDIR \"$EPPATH/test/html/EmbperlObject\"
351 EMBPERL_OBJECT_ADDPATH \"$EPPATH/test/html/EmbperlObject/lib\"
352 EMBPERL_OBJECT_FALLBACK epofallback.htm
353 EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
354 SetHandler perl-script
355 PerlHandler Embperl::Object
356 Options ExecCGI
357 </Location>
358
359 <Location /embperl/EmbperlObject/base2>
360 EMBPERL_APPNAME epo2
361 EMBPERL_OBJECT_BASE epobase2.htm
362 EMBPERL_OBJECT_STOPDIR \"$EPPATH/test/html/EmbperlObject\"
363 EMBPERL_OBJECT_ADDPATH \"$EPPATH/test/html/EmbperlObject/lib\"
364 EMBPERL_OBJECT_FALLBACK epofallback.htm
365 EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
366 SetHandler perl-script
367 PerlHandler Embperl::Object
368 Options ExecCGI
369 </Location>
370
371
372 <Location /embperl/EmbperlObject/errdoc>
373 EMBPERL_APPNAME epo1
374 EMBPERL_OBJECT_BASE epobase.htm
375 EMBPERL_OBJECT_FALLBACK epofallback.htm
376 EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$\"
377 SetHandler perl-script
378 PerlHandler Embperl::Object
379 Options ExecCGI
380 EMBPERL_OPTIONS 262144
381 ErrorDocument 500 /embperl/errmsg2.htm
382 </Location>
383
384
385 <Location /embperl/SSI/>
386 EMBPERL_SYNTAX SSI
387 </Location>
388
389 <Location /embperl/SSIEP/>
390 EMBPERL_SYNTAX "Embperl SSI"
391 </Location>
392
393 <Location /embperl/pod/>
394 EMBPERL_SYNTAX POD
395 </Location>
396
397 <Location /embperl/app/>
398 EMBPERL_APPNAME TestApp
399 EMBPERL_APP_HANDLER_CLASS Embperl::TEST::App
400 </Location>
401
402 <Location /embperl/sidurl>
403 SetHandler perl-script
404 PerlHandler Embperl
405 Options ExecCGI
406 EMBPERL_SESSION_MODE 0x20
407 </Location>
408
409 <Location /embperl/uidurl>
410 SetHandler perl-script
411 PerlHandler Embperl
412 Options ExecCGI
413 EMBPERL_SESSION_MODE 0x02
414 </Location>
415
416 <Location /embperl/suidurl>
417 SetHandler perl-script
418 PerlHandler Embperl
419 Options ExecCGI
420 EMBPERL_SESSION_MODE 0x22
421 </Location>
422
423 <Location /embperlmail>
424 SetHandler perl-script
425 PerlHandler Embperl
426 Options ExecCGI
427 EMBPERL_APPNAME MailApp
428 EMBPERL_MAILHOST mail.i.ecos.de
429 EMBPERL_MAIL_ERRORS_TO richter
430 EMBPERL_MAIL_ERRORS_LIMIT 2
431 EMBPERL_MAIL_ERRORS_RESET_TIME 20
432 EMBPERL_MAIL_ERRORS_RESEND_TIME 60
433 </Location>
434
435 EOD
436
437 print OFH "<VirtualHost _default_:", $EPPORT + 3, ">\n" ;
438 print OFH <<EOD ;
439 EMBPERL_APPNAME VirtHost1
440 EMBPERL_INPUT_ESCMODE 15
441 </VirtualHost>
442
443 EOD
444
445 print OFH "<VirtualHost _default_:", $EPPORT + 4, ">\n" ;
446 print OFH <<EOD ;
447 EMBPERL_APPNAME VirtHost2
448 EMBPERL_INPUT_ESCMODE 31
449 EMBPERL_OBJECT_BASE p4
450 </VirtualHost>
451
452 EOD
453
454 print OFH "<VirtualHost _default_:", $EPPORT + 5, ">\n" ;
455 print OFH <<EOD ;
456 EMBPERL_INPUT_ESCMODE 63
457 EMBPERL_OBJECT_BASE p5
458 </VirtualHost>
459
460 EOD
461
462
463 print OFH <<EOD ;
464 ### CGI setup ###
465
466 Alias /cgi-bin/uidurl/ \"$EPPATH/test/html/sidurl/\"
467 Alias /cgi-bin/suidurl/ \"$EPPATH/test/html/sidurl/\"
468 Alias /cgi-bin/ \"$EPPATH/test/html/\"
469 Alias /cgi-bin2/ \"$EPPATH/test/html2/\"
470 Alias /cgi-bin-32/ \"$EPPATH/test/html/\"
471 ScriptAlias /cgi/ \"$EPPATH/\"
472
473 <Location /cgi-bin>
474 Action text/html /cgi/embpcgi.test.pl
475 Options ExecCGI
476 SetEnv EMBPERL_DEBUG $EPDEBUG
477 SetEnv EMBPERL_LOG \"$EPPATH/test/tmp/test.log\"
478 SetEnv EMBPERL_INPUT_ESCMODE 7
479 SetEnv Embperl_Cookie_Path /
480 SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)
481
482 EOD
483
484 if ($EPSESSIONXVERSION)
485 {
486 print OFH <<EOD ;
487
488 SetEnv EMBPERL_SESSION_CLASSES "File Null"
489 SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
490 EOD
491 }
492 else
493 {
494 print OFH <<EOD ;
495
496 SetEnv EMBPERL_SESSION_HANDLER_CLASS no
497 EOD
498 }
499
500
501 print OFH <<EOD ;
502
503 SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)
504
505 </Location>
506
507 <Location /cgi-bin2>
508 Action text/html /cgi/embpcgi.test.pl
509 Options ExecCGI
510 EOD
511
512 if ($EPSESSIONVERSION && ($EPSESSIONVERSION > 1))
513 {
514 print OFH <<EOD ;
515
516 SetEnv EMBPERL_SESSION_CLASSES "File Null"
517 SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
518 EOD
519 }
520 else
521 {
522 print OFH <<EOD ;
523
524 SetEnv EMBPERL_SESSION_HANDLER_CLASS no
525 EOD
526 }
527
528
529 print OFH <<EOD ;
530
531 SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)
532
533 </Location>
534
535 <Location /cgi-bin/rawinput>
536 SetEnv EMBPERL_OPTIONS 16
537 SetEnv EMBPERL_INPUT_ESCMODE 0
538 </Location>
539
540
541 <Location /cgi-bin/EmbperlObject>
542 Action text/html /cgi/epocgi.test.pl
543 Options ExecCGI
544 SetEnv EMBPERL_OBJECT_BASE epobase.htm
545 SetEnv EMBPERL_OBJECT_FALLBACK epofallback.htm
546 SetEnv EMBPERL_INPUT_ESCMODE 7
547 </Location>
548
549
550 <Location /cgi-bin-32>
551 Action text/html /cgi/embpcgi.test.bat
552 Options ExecCGI
553 </Location>
554
555
556 <Location /cgi-bin/SSI/>
557 SetEnv EMBPERL_SYNTAX SSI
558 </Location>
559
560 <Location /cgi-bin/SSIEP/>
561 SetEnv EMBPERL_SYNTAX "Embperl SSI"
562 </Location>
563
564 <Location /cgi-bin/pod/>
565 SetEnv EMBPERL_SYNTAX POD
566 </Location>
567
568
569 ### fastcgi setup ###
570
571 Alias /fastcgi-bin/uidurl/ \"$EPPATH/test/html/sidurl/\"
572 Alias /fastcgi-bin/suidurl/ \"$EPPATH/test/html/sidurl/\"
573 Alias /fastcgi-bin/ \"$EPPATH/test/html/\"
574 Alias /fastcgi-bin2/ \"$EPPATH/test/html2/\"
575 Alias /fastcgi-bin-32/ \"$EPPATH/test/html/\"
576 #ScriptAlias /cgi/ \"$EPPATH/\"
577
578 <Location /fastcgi-bin>
579 Action text/html /cgi/embpfastcgi.test.pl
580 Options ExecCGI
581 SetEnv EMBPERL_DEBUG $EPDEBUG
582 SetEnv EMBPERL_LOG \"$EPPATH/test/tmp/test.log\"
583 SetEnv EMBPERL_INPUT_ESCMODE 7
584 SetEnv Embperl_Cookie_Path /
585 SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)
586
587 EOD
588
589 if ($EPSESSIONXVERSION)
590 {
591 print OFH <<EOD ;
592
593 SetEnv EMBPERL_SESSION_CLASSES "File Null"
594 SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
595 EOD
596 }
597 else
598 {
599 print OFH <<EOD ;
600
601 SetEnv EMBPERL_SESSION_HANDLER_CLASS no
602 EOD
603 }
604
605
606 print OFH <<EOD ;
607
608 SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)
609
610 </Location>
611
612 <Location /fastcgi-bin2>
613 Action text/html /cgi/embpfastcgi.test.pl
614 Options ExecCGI
615 EOD
616
617 if ($EPSESSIONVERSION && ($EPSESSIONVERSION > 1))
618 {
619 print OFH <<EOD ;
620
621 SetEnv EMBPERL_SESSION_CLASSES "File Null"
622 SetEnv EMBPERL_SESSION_ARGS "'Directory=$EPPATH/test/tmp'"
623 EOD
624 }
625 else
626 {
627 print OFH <<EOD ;
628
629 SetEnv EMBPERL_SESSION_HANDLER_CLASS no
630 EOD
631 }
632
633
634 print OFH <<EOD ;
635
636 SetEnv EMBPERL_ALLOW (asc|\\.xml\$|\\.htm\$)
637
638 </Location>
639
640 <Location /fastcgi-bin/rawinput>
641 SetEnv EMBPERL_OPTIONS 16
642 SetEnv EMBPERL_INPUT_ESCMODE 0
643 </Location>
644
645
646 <Location /fastcgi-bin/EmbperlObject>
647 Action text/html /cgi/epofastcgi.test.pl
648 Options ExecCGI
649 SetEnv EMBPERL_OBJECT_BASE epobase.htm
650 SetEnv EMBPERL_OBJECT_FALLBACK epofallback.htm
651 </Location>
652
653
654 <Location /fastcgi-bin-32>
655 Action text/html /cgi/embpfastcgi.test.bat
656 Options ExecCGI
657 </Location>
658
659
660 <Location /fastcgi-bin/SSI/>
661 SetEnv EMBPERL_SYNTAX SSI
662 </Location>
663
664 <Location /fastcgi-bin/SSIEP/>
665 SetEnv EMBPERL_SYNTAX "Embperl SSI"
666 </Location>
667
668 <Location /fastcgi-bin/pod/>
669 SetEnv EMBPERL_SYNTAX POD
670 </Location>
671
672
673 ### Status ###
674
675 <Location /perl-status>
676 SetHandler perl-script
677 PerlHandler Apache::Status
678 PerlSetVar StatusOptionsAll On
679 </Location>
680
681 <Location /server-status>
682 SetHandler server-status
683 </Location>
684
685 <Location /server-info>
686 SetHandler server-info
687 </Location>
688
689 ########### web site #####################
690 #
691 # redirect all languages of the web to the same directory
692 Alias /eg/web/de/ \"$EPPATH/eg/web/\"
693 Alias /eg/web/en/ \"$EPPATH/eg/web/\"
694
695 # path for examples
696 Alias /eg/ \"$EPPATH/eg/\"
697
698
699
700
701 #
702 # Configuration for example access
703 #
704
705 <Location /eg>
706 EMBPERL_XSLTPROC libxslt
707 </Location>
708
709 <Location /eg/x>
710 SetHandler perl-script
711 PerlHandler Embperl
712 Options ExecCGI FollowSymLinks
713 EMBPERL_INPUT_ESCMODE 7
714 EMBPERL_OPTIONS 262288
715 </Location>
716
717
718 <Location /eg/web>
719 EMBPERL_APPNAME EmbperlWeb
720 EMBPERL_OPTIONS 16
721 EMBPERL_DEBUG 0
722 EMBPERL_INPUT_ESCMODE 0
723 EMBPERL_ALLOW .
724 EMBPERL_OBJECT_BASE base.epl
725 EMBPERL_OBJECT_APP epwebapp.pl
726 EMBPERL_OBJECT_STOPDIR \"$EPPATH/eg/web\"
727 EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$|\\.xml\$|\\.pod\$|/$\"
728 SetHandler perl-script
729 PerlHandler Embperl::Object
730 Options ExecCGI
731 </Location>
732
733 <Location /eg/web/conf>
734 EMBPERL_APPNAME EmbperlConf
735 EMBPERL_RECIPE EmbperlLibXSLT
736 EMBPERL_XSLTSTYLESHEET \"$EPPATH/eg/web/conf/pod.xsl\"
737 EMBPERL_SYNTAX POD
738 EMBPERL_URIMATCH \"\\.htm.?\$|\\.epl\$|\\.xml\$|\\.pod\$|/$\"
739 EMBPERL_PATH \"$EPPATH/eg/web/conf;$EPPATH/eg/web\"
740 sethandler perl-script
741 perlhandler Embperl
742 </Location>
743
744 <Location /eg/xml>
745 SetHandler perl-script
746 PerlHandler Embperl
747 Options ExecCGI
748 EMBPERL_XSLTSTYLESHEET \"$EPPATH/eg/xml/pod.xsl\"
749 EMBPERL_XSLTPROC libxslt
750 EMBPERL_RECIPE XSLT
751 </Location>
752
753
754 #<Location /eg/images/aim>
755 #
756 #PerlSetVar AIMParameter \"pointsize=14 font=$EPPATH/../fonts/OCRAEXT.ttf\"
757 #
758 ##PerlSetVar AIMParameter \"pointsize=14 gravity=left font=$EPPATH/../fonts/OCRAEXT.ttf\"
759 #PerlSetVar AIMCacheDir \"$EPPATH/eg/images/aim/cache\"
760 #PerlSetVar AIMDebug 1
761 #PerlFixupHandler Apache::ImageMagick
762 #
763 #</location>
764
765 ######## kwiki ##################
766
767 <Location /kwiki>
768 SetHandler perl-script
769 PerlSetVar KwikiBaseDir $EPPATH/eg/kwiki
770 PerlHandler Kwiki::ModPerl
771 </Location>
772 Alias /ckwiki $EPPATH/eg/kwiki
773
774 <Location /ckwiki>
775 SetHandler cgi-script
776 </Location>
777
778 ########## forms example ############
779
780 SetEnv PERL5LIB \"$EPPATH/eg/forms\"
781
782 Alias /epfctrl \"$EPPATH/eg/forms/epfctrl\"
783
784 AddType text/html .epl
785
786 <Location /eg/forms/pages>
787 SetHandler perl-script
788 PerlHandler Embperl
789 Options ExecCGI
790 #EMBPERL_INPUT_ESCMODE 7
791 #EMBPERL_OPTIONS 262288
792 </Location>
793
794 <Location /epfctrl>
795 SetHandler perl-script
796 PerlHandler Embperl
797 Options ExecCGI
798 #EMBPERL_INPUT_ESCMODE 7
799 #EMBPERL_OPTIONS 262288
800 EMBPERL_ALLOW (\\.json\$)
801
802 </Location>
803
804 <Location /eg/forms/wizard>
805 SetHandler perl-script
806 PerlHandler Embperl::Object
807
808 Options ExecCGI
809 Embperl_Appname setupwizard
810 Embperl_Object_Base base.epl
811 Embperl_Object_App wizard.pl
812
813 EMBPERL_OBJECT_ADDPATH \"$EPPATH/eg/forms/lib\"
814 # optAllFormData + optRawInput
815 EMBPERL_OPTIONS 0x2010
816 EMBPERL_ALLOW .epl
817 </Location>
818
819
820
821
822 ### misc ###
823
824 <IfModule apache_ssl.c>
825 SSLDisable
826 SSLCacheServerPort gcache_port
827 SSLCacheServerPath \"$EPAPACHESRC/modules/ssl/gcache\"
828 </IfModule>
829
830 <IfModule mod_jserv.c>
831 ApJServManual on
832 ApJServSecretKey DISABLED
833 ApJServLogFile /dev/null
834 </IfModule>
835
836 <IfModule mod_dav.c>
837 DavLockDB tmp/DAVLockDB
838 <Location /dav>
839 DAV on
840 </Location>
841
842
843
844 </IfModule>
845
846
847 EOD
848
849 if (!$EPSTRONGHOLDKEY && $EPSSLDISABLE)
850 {
851 print OFH <<EOD ;
852 <IfModule mod_ssl.c>
853 SSLDisable
854 SSLCacheServerPort $EPPORT2
855 SSLCacheServerPath tmp
856 </IfModule>
857 EOD
858 }
859
860
861
862
863
864
865
866
867