1docs::api::Apache2::ConUsste(r3)Contributed Perl Documendtoactsi:o:napi::Apache2::Const(3)
2
3
4
6 Apache2::Const - Perl Interface for Apache Constants
7
9 # make the constants available but don't import them
10 use Apache2::Const -compile => qw(constant names ...);
11
12 # w/o the => syntax sugar
13 use Apache2::Const ("-compile", qw(constant names ...));
14
15 # compile and import the constants
16 use Apache2::Const qw(constant names ...);
17
19 This package contains constants specific to "Apache" features.
20
21 mod_perl 2.0 comes with several hundreds of constants, which you don't
22 want to make available to your Perl code by default, due to CPU and
23 memory overhead. Therefore when you want to use a certain constant you
24 need to explicitly ask to make it available.
25
26 For example, the code:
27
28 use Apache2::Const -compile => qw(FORBIDDEN OK);
29
30 makes the constants "Apache2::Const::FORBIDDEN" and
31 "Apache2::Const::OK" available to your code, but they aren't imported.
32 In which case you need to use a fully qualified constants, as in:
33
34 return Apache2::Const::OK;
35
36 If you drop the argument "-compile" and write:
37
38 use Apache2::Const qw(FORBIDDEN OK);
39
40 Then both constants are imported into your code's namespace and can be
41 used standalone like so:
42
43 return OK;
44
45 Both, due to the extra memory requirement, when importing symbols, and
46 since there are constants in other namespaces (e.g., "APR::" and "Mod‐
47 Perl::", and non-mod_perl modules) which may contain the same names,
48 it's not recommended to import constants. I.e. you want to use the
49 "-compile" construct.
50
51 Finaly, in Perl "=>" is almost the same as the comma operator. It can
52 be used as syntax sugar making it more clear when there is a key-value
53 relation between two arguments, and also it automatically parses its
54 lefthand argument (the key) as a string, so you don't need to quote it.
55
56 If you don't want to use that syntax, instead of writing:
57
58 use Apache2::Const -compile => qw(FORBIDDEN OK);
59
60 you could write:
61
62 use Apache2::Const "-compile", qw(FORBIDDEN OK);
63
64 and for parentheses-lovers:
65
66 use Apache2::Const ("-compile", qw(FORBIDDEN OK));
67
69 ":cmd_how"
70
71 use Apache2::Const -compile => qw(:cmd_how);
72
73 The ":cmd_how" constants group is used in "Apache2::Module::add()" and
74 "$cmds->args_how".
75
76 "Apache2::Const::FLAG"
77
78 One of On or Off (full description).
79
80 since: 2.0.00
81
82 "Apache2::Const::ITERATE"
83
84 One argument, occuring multiple times (full description).
85
86 since: 2.0.00
87
88 "Apache2::Const::ITERATE2"
89
90 Two arguments, the second occurs multiple times (full description).
91
92 since: 2.0.00
93
94 "Apache2::Const::NO_ARGS"
95
96 No arguments at all (full description).
97
98 since: 2.0.00
99
100 "Apache2::Const::RAW_ARGS"
101
102 The command will parse the command line itself (full description).
103
104 since: 2.0.00
105
106 "Apache2::Const::TAKE1"
107
108 One argument only (full description).
109
110 since: 2.0.00
111
112 "Apache2::Const::TAKE12"
113
114 One or two arguments (full description).
115
116 since: 2.0.00
117
118 "Apache2::Const::TAKE123"
119
120 One, two or three arguments (full description).
121
122 since: 2.0.00
123
124 "Apache2::Const::TAKE13"
125
126 One or three arguments (full description).
127
128 since: 2.0.00
129
130 "Apache2::Const::TAKE2"
131
132 Two arguments (full description).
133
134 since: 2.0.00
135
136 "Apache2::Const::TAKE23"
137
138 Two or three arguments (full description).
139
140 since: 2.0.00
141
142 "Apache2::Const::TAKE3"
143
144 Three arguments (full description).
145
146 since: 2.0.00
147
148 ":common"
149
150 use Apache2::Const -compile => qw(:common);
151
152 The ":common" group is for XXX constants.
153
154 "Apache2::Const::AUTH_REQUIRED"
155
156 since: 2.0.00
157
158 "Apache2::Const::DECLINED"
159
160 since: 2.0.00
161
162 "Apache2::Const::DONE"
163
164 since: 2.0.00
165
166 "Apache2::Const::FORBIDDEN"
167
168 since: 2.0.00
169
170 "Apache2::Const::NOT_FOUND"
171
172 since: 2.0.00
173
174 "Apache2::Const::OK"
175
176 since: 2.0.00
177
178 "Apache2::Const::REDIRECT"
179
180 since: 2.0.00
181
182 "Apache2::Const::SERVER_ERROR"
183
184 since: 2.0.00
185
186 ":config"
187
188 use Apache2::Const -compile => qw(:config);
189
190 The ":config" group is for XXX constants.
191
192 "Apache2::Const::DECLINE_CMD"
193
194 since: 2.0.00
195
196 ":conn_keepalive"
197
198 use Apache2::Const -compile => qw(:conn_keepalive);
199
200 The ":conn_keepalive" constants group is used by the ("$c->keepalive")
201 method.
202
203 "Apache2::Const::CONN_CLOSE"
204
205 The connection will be closed at the end of the current HTTP request.
206
207 since: 2.0.00
208
209 "Apache2::Const::CONN_KEEPALIVE"
210
211 The connection will be kept alive at the end of the current HTTP
212 request.
213
214 since: 2.0.00
215
216 "Apache2::Const::CONN_UNKNOWN"
217
218 The connection is at an unknown state, e.g., initialized but not open
219 yet.
220
221 since: 2.0.00
222
223 ":context"
224
225 use Apache2::Const -compile => qw(:context);
226
227 The ":context" group is used by the "$parms->check_cmd_context" method.
228
229 "Apache2::Const::NOT_IN_VIRTUALHOST"
230
231 The command is not in a <VirtualHost> block.
232
233 since: 2.0.00
234
235 "Apache2::Const::NOT_IN_LIMIT"
236
237 The command is not in a <Limit> block.
238
239 since: 2.0.00
240
241 "Apache2::Const::NOT_IN_DIRECTORY"
242
243 The command is not in a <Directory> block.
244
245 since: 2.0.00
246
247 "Apache2::Const::NOT_IN_LOCATION"
248
249 The command is not in a <Location>/<LocationMatch> block.
250
251 since: 2.0.00
252
253 "Apache2::Const::NOT_IN_FILES"
254
255 The command is not in a <Files>/<FilesMatch> block.
256
257 since: 2.0.00
258
259 "Apache2::Const::NOT_IN_DIR_LOC_FILE"
260
261 The command is not in a <Files>/<FilesMatch>, <Location>/<Location‐
262 Match> or <Directory> block.
263
264 since: 2.0.00
265
266 "Apache2::Const::GLOBAL_ONLY"
267
268 The directive appears outside of any container directives.
269
270 since: 2.0.00
271
272 ":filter_type"
273
274 use Apache2::Const -compile => qw(:filter_type);
275
276 The ":filter_type" group is for XXX constants.
277
278 "Apache2::Const::FTYPE_CONNECTION"
279
280 since: 2.0.00
281
282 "Apache2::Const::FTYPE_CONTENT_SET"
283
284 since: 2.0.00
285
286 "Apache2::Const::FTYPE_NETWORK"
287
288 since: 2.0.00
289
290 "Apache2::Const::FTYPE_PROTOCOL"
291
292 since: 2.0.00
293
294 "Apache2::Const::FTYPE_RESOURCE"
295
296 since: 2.0.00
297
298 "Apache2::Const::FTYPE_TRANSCODE"
299
300 since: 2.0.00
301
302 ":http"
303
304 use Apache2::Const -compile => qw(:http);
305
306 The ":http" group is for XXX constants.
307
308 "Apache2::Const::HTTP_ACCEPTED"
309
310 since: 2.0.00
311
312 "Apache2::Const::HTTP_BAD_GATEWAY"
313
314 since: 2.0.00
315
316 "Apache2::Const::HTTP_BAD_REQUEST"
317
318 since: 2.0.00
319
320 "Apache2::Const::HTTP_CONFLICT"
321
322 since: 2.0.00
323
324 "Apache2::Const::HTTP_CONTINUE"
325
326 since: 2.0.00
327
328 "Apache2::Const::HTTP_CREATED"
329
330 since: 2.0.00
331
332 "Apache2::Const::HTTP_EXPECTATION_FAILED"
333
334 since: 2.0.00
335
336 "Apache2::Const::HTTP_FAILED_DEPENDENCY"
337
338 since: 2.0.00
339
340 "Apache2::Const::HTTP_FORBIDDEN"
341
342 since: 2.0.00
343
344 "Apache2::Const::HTTP_GATEWAY_TIME_OUT"
345
346 since: 2.0.00
347
348 "Apache2::Const::HTTP_GONE"
349
350 since: 2.0.00
351
352 "Apache2::Const::HTTP_INSUFFICIENT_STORAGE"
353
354 since: 2.0.00
355
356 "Apache2::Const::HTTP_INTERNAL_SERVER_ERROR"
357
358 since: 2.0.00
359
360 "Apache2::Const::HTTP_LENGTH_REQUIRED"
361
362 since: 2.0.00
363
364 "Apache2::Const::HTTP_LOCKED"
365
366 since: 2.0.00
367
368 "Apache2::Const::HTTP_METHOD_NOT_ALLOWED"
369
370 since: 2.0.00
371
372 "Apache2::Const::HTTP_MOVED_PERMANENTLY"
373
374 since: 2.0.00
375
376 "Apache2::Const::HTTP_MOVED_TEMPORARILY"
377
378 since: 2.0.00
379
380 "Apache2::Const::HTTP_MULTIPLE_CHOICES"
381
382 since: 2.0.00
383
384 "Apache2::Const::HTTP_MULTI_STATUS"
385
386 since: 2.0.00
387
388 "Apache2::Const::HTTP_NON_AUTHORITATIVE"
389
390 since: 2.0.00
391
392 "Apache2::Const::HTTP_NOT_ACCEPTABLE"
393
394 since: 2.0.00
395
396 "Apache2::Const::HTTP_NOT_EXTENDED"
397
398 since: 2.0.00
399
400 "Apache2::Const::HTTP_NOT_FOUND"
401
402 since: 2.0.00
403
404 "Apache2::Const::HTTP_NOT_IMPLEMENTED"
405
406 since: 2.0.00
407
408 "Apache2::Const::HTTP_NOT_MODIFIED"
409
410 since: 2.0.00
411
412 "Apache2::Const::HTTP_NO_CONTENT"
413
414 since: 2.0.00
415
416 "Apache2::Const::HTTP_OK"
417
418 since: 2.0.00
419
420 "Apache2::Const::HTTP_PARTIAL_CONTENT"
421
422 since: 2.0.00
423
424 "Apache2::Const::HTTP_PAYMENT_REQUIRED"
425
426 since: 2.0.00
427
428 "Apache2::Const::HTTP_PRECONDITION_FAILED"
429
430 since: 2.0.00
431
432 "Apache2::Const::HTTP_PROCESSING"
433
434 since: 2.0.00
435
436 "Apache2::Const::HTTP_PROXY_AUTHENTICATION_REQUIRED"
437
438 since: 2.0.00
439
440 "Apache2::Const::HTTP_RANGE_NOT_SATISFIABLE"
441
442 since: 2.0.00
443
444 "Apache2::Const::HTTP_REQUEST_ENTITY_TOO_LARGE"
445
446 since: 2.0.00
447
448 "Apache2::Const::HTTP_REQUEST_TIME_OUT"
449
450 since: 2.0.00
451
452 "Apache2::Const::HTTP_REQUEST_URI_TOO_LARGE"
453
454 since: 2.0.00
455
456 "Apache2::Const::HTTP_RESET_CONTENT"
457
458 since: 2.0.00
459
460 "Apache2::Const::HTTP_SEE_OTHER"
461
462 since: 2.0.00
463
464 "Apache2::Const::HTTP_SERVICE_UNAVAILABLE"
465
466 since: 2.0.00
467
468 "Apache2::Const::HTTP_SWITCHING_PROTOCOLS"
469
470 since: 2.0.00
471
472 "Apache2::Const::HTTP_TEMPORARY_REDIRECT"
473
474 since: 2.0.00
475
476 "Apache2::Const::HTTP_UNAUTHORIZED"
477
478 since: 2.0.00
479
480 "Apache2::Const::HTTP_UNPROCESSABLE_ENTITY"
481
482 since: 2.0.00
483
484 "Apache2::Const::HTTP_UNSUPPORTED_MEDIA_TYPE"
485
486 since: 2.0.00
487
488 "Apache2::Const::HTTP_UPGRADE_REQUIRED"
489
490 since: 2.0.00
491
492 "Apache2::Const::HTTP_USE_PROXY"
493
494 since: 2.0.00
495
496 "Apache2::Const::HTTP_VARIANT_ALSO_VARIES"
497
498 since: 2.0.00
499
500 ":input_mode"
501
502 use Apache2::Const -compile => qw(:input_mode);
503
504 The ":input_mode" group is used by "get_brigade".
505
506 "Apache2::Const::MODE_EATCRLF"
507
508 since: 2.0.00
509
510 See "Apache2::Filter::get_brigade()".
511
512 "Apache2::Const::MODE_EXHAUSTIVE"
513
514 since: 2.0.00
515
516 See "Apache2::Filter::get_brigade()".
517
518 "Apache2::Const::MODE_GETLINE"
519
520 since: 2.0.00
521
522 See "Apache2::Filter::get_brigade()".
523
524 "Apache2::Const::MODE_INIT"
525
526 since: 2.0.00
527
528 See "Apache2::Filter::get_brigade()".
529
530 "Apache2::Const::MODE_READBYTES"
531
532 since: 2.0.00
533
534 See "Apache2::Filter::get_brigade()".
535
536 "Apache2::Const::MODE_SPECULATIVE"
537
538 since: 2.0.00
539
540 See "Apache2::Filter::get_brigade()".
541
542 ":log"
543
544 use Apache2::Const -compile => qw(:log);
545
546 The ":log" group is for constants used by "Apache2::Log".
547
548 "Apache2::Const::LOG_ALERT"
549
550 since: 2.0.00
551
552 See "Apache2::Log".
553
554 "Apache2::Const::LOG_CRIT"
555
556 since: 2.0.00
557
558 See "Apache2::Log".
559
560 "Apache2::Const::LOG_DEBUG"
561
562 since: 2.0.00
563
564 See "Apache2::Log".
565
566 "Apache2::Const::LOG_EMERG"
567
568 since: 2.0.00
569
570 See "Apache2::Log".
571
572 "Apache2::Const::LOG_ERR"
573
574 since: 2.0.00
575
576 See "Apache2::Log".
577
578 "Apache2::Const::LOG_INFO"
579
580 since: 2.0.00
581
582 See "Apache2::Log".
583
584 "Apache2::Const::LOG_LEVELMASK"
585
586 since: 2.0.00
587
588 See "Apache2::Log".
589
590 "Apache2::Const::LOG_NOTICE"
591
592 since: 2.0.00
593
594 See "Apache2::Log".
595
596 "Apache2::Const::LOG_STARTUP"
597
598 since: 2.0.00
599
600 See "Apache2::Log".
601
602 "Apache2::Const::LOG_TOCLIENT"
603
604 since: 2.0.00
605
606 See "Apache2::Log".
607
608 "Apache2::Const::LOG_WARNING"
609
610 since: 2.0.00
611
612 See "Apache2::Log".
613
614 ":methods"
615
616 use Apache2::Const -compile => qw(:methods);
617
618 The ":methods" constants group is used in conjunction with
619 "$r->method_number".
620
621 "Apache2::Const::METHODS"
622
623 since: 2.0.00
624
625 "Apache2::Const::M_BASELINE_CONTROL"
626
627 since: 2.0.00
628
629 "Apache2::Const::M_CHECKIN"
630
631 since: 2.0.00
632
633 "Apache2::Const::M_CHECKOUT"
634
635 since: 2.0.00
636
637 "Apache2::Const::M_CONNECT"
638
639 since: 2.0.00
640
641 "Apache2::Const::M_COPY"
642
643 since: 2.0.00
644
645 "Apache2::Const::M_DELETE"
646
647 since: 2.0.00
648
649 "Apache2::Const::M_GET"
650
651 since: 2.0.00
652
653 corresponds to the HTTP "GET" method
654
655 "Apache2::Const::M_INVALID"
656
657 since: 2.0.00
658
659 "Apache2::Const::M_LABEL"
660
661 since: 2.0.00
662
663 "Apache2::Const::M_LOCK"
664
665 since: 2.0.00
666
667 "Apache2::Const::M_MERGE"
668
669 since: 2.0.00
670
671 "Apache2::Const::M_MKACTIVITY"
672
673 since: 2.0.00
674
675 "Apache2::Const::M_MKCOL"
676
677 since: 2.0.00
678
679 "Apache2::Const::M_MKWORKSPACE"
680
681 since: 2.0.00
682
683 "Apache2::Const::M_MOVE"
684
685 since: 2.0.00
686
687 "Apache2::Const::M_OPTIONS"
688
689 since: 2.0.00
690
691 "Apache2::Const::M_PATCH"
692
693 since: 2.0.00
694
695 "Apache2::Const::M_POST"
696
697 since: 2.0.00
698
699 corresponds to the HTTP "POST" method
700
701 "Apache2::Const::M_PROPFIND"
702
703 since: 2.0.00
704
705 "Apache2::Const::M_PROPPATCH"
706
707 since: 2.0.00
708
709 "Apache2::Const::M_PUT"
710
711 since: 2.0.00
712
713 corresponds to the HTTP "PUT" method
714
715 "Apache2::Const::M_REPORT"
716
717 since: 2.0.00
718
719 "Apache2::Const::M_TRACE"
720
721 since: 2.0.00
722
723 "Apache2::Const::M_UNCHECKOUT"
724
725 since: 2.0.00
726
727 "Apache2::Const::M_UNLOCK"
728
729 since: 2.0.00
730
731 "Apache2::Const::M_UPDATE"
732
733 since: 2.0.00
734
735 "Apache2::Const::M_VERSION_CONTROL"
736
737 since: 2.0.00
738
739 ":mpmq"
740
741 use Apache2::Const -compile => qw(:mpmq);
742
743 The ":mpmq" group is for querying MPM properties.
744
745 "Apache2::Const::MPMQ_NOT_SUPPORTED"
746
747 since: 2.0.00
748
749 "Apache2::Const::MPMQ_STATIC"
750
751 since: 2.0.00
752
753 "Apache2::Const::MPMQ_DYNAMIC"
754
755 since: 2.0.00
756
757 "Apache2::Const::MPMQ_MAX_DAEMON_USED"
758
759 since: 2.0.00
760
761 "Apache2::Const::MPMQ_IS_THREADED"
762
763 since: 2.0.00
764
765 "Apache2::Const::MPMQ_IS_FORKED"
766
767 since: 2.0.00
768
769 "Apache2::Const::MPMQ_HARD_LIMIT_DAEMONS"
770
771 since: 2.0.00
772
773 "Apache2::Const::MPMQ_HARD_LIMIT_THREADS"
774
775 since: 2.0.00
776
777 "Apache2::Const::MPMQ_MAX_THREADS"
778
779 since: 2.0.00
780
781 "Apache2::Const::MPMQ_MIN_SPARE_DAEMONS"
782
783 since: 2.0.00
784
785 "Apache2::Const::MPMQ_MIN_SPARE_THREADS"
786
787 since: 2.0.00
788
789 "Apache2::Const::MPMQ_MAX_SPARE_DAEMONS"
790
791 since: 2.0.00
792
793 "Apache2::Const::MPMQ_MAX_SPARE_THREADS"
794
795 since: 2.0.00
796
797 "Apache2::Const::MPMQ_MAX_REQUESTS_DAEMON"
798
799 since: 2.0.00
800
801 "Apache2::Const::MPMQ_MAX_DAEMONS"
802
803 since: 2.0.00
804
805 ":options"
806
807 use Apache2::Const -compile => qw(:options);
808
809 The ":options" group contains constants corresponding to the "Options"
810 configuration directive. For examples see: "$r->allow_options".
811
812 "Apache2::Const::OPT_ALL"
813
814 since: 2.0.00
815
816 "Apache2::Const::OPT_EXECCGI"
817
818 since: 2.0.00
819
820 "Apache2::Const::OPT_INCLUDES"
821
822 since: 2.0.00
823
824 "Apache2::Const::OPT_INCNOEXEC"
825
826 since: 2.0.00
827
828 "Apache2::Const::OPT_INDEXES"
829
830 since: 2.0.00
831
832 "Apache2::Const::OPT_MULTI"
833
834 since: 2.0.00
835
836 "Apache2::Const::OPT_NONE"
837
838 since: 2.0.00
839
840 "Apache2::Const::OPT_SYM_LINKS"
841
842 since: 2.0.00
843
844 "Apache2::Const::OPT_SYM_OWNER"
845
846 since: 2.0.00
847
848 "Apache2::Const::OPT_UNSET"
849
850 since: 2.0.00
851
852 ":override"
853
854 use Apache2::Const -compile => qw(:override);
855
856 The ":override" group contains constants corresponding to the
857 "AllowOverride" configuration directive. For examples see:
858 "$r->allow_options".
859
860 "Apache2::Const::ACCESS_CONF"
861
862 *.conf inside "<Directory>" or "<Location>"
863
864 since: 2.0.00
865
866 "Apache2::Const::EXEC_ON_READ"
867
868 Force directive to execute a command which would modify the configura‐
869 tion (like including another file, or "IFModule")
870
871 since: 2.0.00
872
873 "Apache2::Const::OR_ALL"
874
875 "Apache2::Const::OR_LIMIT" ⎪ "Apache2::Const::OR_OPTIONS" ⎪
876 "Apache2::Const::OR_FILEINFO" ⎪ "Apache2::Const::OR_AUTHCFG" ⎪
877 "Apache2::Const::OR_INDEXES"
878
879 since: 2.0.00
880
881 "Apache2::Const::OR_AUTHCFG"
882
883 *.conf inside "<Directory>" or "<Location>" and .htaccess when
884 "AllowOverride AuthConfig"
885
886 since: 2.0.00
887
888 "Apache2::Const::OR_FILEINFO"
889
890 *.conf anywhere and .htaccess when "AllowOverride FileInfo"
891
892 since: 2.0.00
893
894 "Apache2::Const::OR_INDEXES"
895
896 *.conf anywhere and .htaccess when "AllowOverride Indexes"
897
898 since: 2.0.00
899
900 "Apache2::Const::OR_LIMIT"
901
902 *.conf inside "<Directory>" or "<Location>" and .htaccess when
903 "AllowOverride Limit"
904
905 since: 2.0.00
906
907 "Apache2::Const::OR_NONE"
908
909 *.conf is not available anywhere in this override
910
911 since: 2.0.00
912
913 "Apache2::Const::OR_OPTIONS"
914
915 *.conf anywhere and .htaccess when "AllowOverride Options"
916
917 since: 2.0.00
918
919 "Apache2::Const::OR_UNSET"
920
921 Unset a directive (in "Allow")
922
923 since: 2.0.00
924
925 "Apache2::Const::RSRC_CONF"
926
927 *.conf outside "<Directory>" or "<Location>"
928
929 since: 2.0.00
930
931 ":platform"
932
933 use Apache2::Const -compile => qw(:platform);
934
935 The ":platform" group is for constants that may differ from OS to OS.
936
937 "Apache2::Const::CRLF"
938
939 since: 2.0.00
940
941 "Apache2::Const::CR"
942
943 since: 2.0.00
944
945 "Apache2::Const::LF"
946
947 since: 2.0.00
948
949 ":remotehost"
950
951 use Apache2::Const -compile => qw(:remotehost);
952
953 The ":remotehost" constants group is is used by the
954 "$c->get_remote_host" method.
955
956 "Apache2::Const::REMOTE_DOUBLE_REV"
957
958 since: 2.0.00
959
960 "Apache2::Const::REMOTE_HOST"
961
962 since: 2.0.00
963
964 "Apache2::Const::REMOTE_NAME"
965
966 since: 2.0.00
967
968 "Apache2::Const::REMOTE_NOLOOKUP"
969
970 since: 2.0.00
971
972 ":satisfy"
973
974 use Apache2::Const -compile => qw(:satisfy);
975
976 The ":satisfy" constants group is used in conjunction with "$r->satis‐
977 fies".
978
979 "Apache2::Const::SATISFY_ALL"
980
981 since: 2.0.00
982
983 All of the requirements must be met.
984
985 "Apache2::Const::SATISFY_ANY"
986
987 since: 2.0.00
988
989 any of the requirements must be met.
990
991 "Apache2::Const::SATISFY_NOSPEC"
992
993 since: 2.0.00
994
995 There are no applicable satisfy lines
996
997 ":types"
998
999 use Apache2::Const -compile => qw(:types);
1000
1001 The ":types" group is for XXX constants.
1002
1003 "Apache2::Const::DIR_MAGIC_TYPE"
1004
1005 since: 2.0.00
1006
1007 ":proxy"
1008
1009 use Apache2::Const -compile => qw(:proxy);
1010
1011 The ":proxy" constants group is used in conjunction with "$r->prox‐
1012 yreq".
1013
1014 "Apache2::Const::PROXYREQ_NONE"
1015
1016 since: 2.0.2
1017
1018 "Apache2::Const::PROXYREQ_PROXY"
1019
1020 since: 2.0.2
1021
1022 "Apache2::Const::PROXYREQ_REVERSE"
1023
1024 since: 2.0.2
1025
1027 mod_perl 2.0 documentation.
1028
1029 HTTP Status Codes.
1030
1032 mod_perl 2.0 and its core modules are copyrighted under The Apache
1033 Software License, Version 2.0.
1034
1036 The mod_perl development team and numerous contributors.
1037
1038
1039
1040perl v5.8.8 2006-11-19 docs::api::Apache2::Const(3)