Constants(3)
NNAAMMEE
Apache::Constants - Constants defined in apache header
files
SSYYNNOOPPSSIISS
use Apache::Constants;
use Apache::Constants ':common';
use Apache::Constants ':response';
DDEESSCCRRIIPPTTIIOONN
Server constants used by apache modules are defined in
hhttttppdd..hh and other header files, this module gives Perl
access to those constants.
EEXXPPOORRTT TTAAGGSS
common
This tag imports the most commonly used constants.
OK
DECLINED
DONE
NOT_FOUND
FORBIDDEN
AUTH_REQUIRED
SERVER_ERROR
response
This tag imports the ccoommmmoonn response codes, plus these
response codes:
DOCUMENT_FOLLOWS
MOVED
REDIRECT
USE_LOCAL_COPY
BAD_REQUEST
BAD_GATEWAY
RESPONSE_CODES
NOT_IMPLEMENTED
CONTINUE
NOT_AUTHORITATIVE
CCOONNTTIINNUUEE and NNOOTT__AAUUTTHHOORRIITTAATTIIVVEE are aliases for
DDEECCLLIINNEEDD.
=item methods
This are the method numbers, commonly used with the
Apache mmeetthhoodd__nnuummbbeerr method.
METHODS
M_CONNECT
M_DELETE
M_GET
M_INVALID
M_OPTIONS
M_POST
M_PUT
M_TRACE
options
These constants are most commonly used with the Apache
aallllooww__ooppttiioonnss method:
OPT_NONE
OPT_INDEXES
OPT_INCLUDES
OPT_SYM_LINKS
OPT_EXECCGI
OPT_UNSET
OPT_INCNOEXEC
OPT_SYM_OWNER
OPT_MULTI
OPT_ALL
satisfy
These constants are most commonly used with the Apache
ssaattiissffiieess method:
SATISFY_ALL
SATISFY_ANY
SATISFY_NOSPEC
remotehost
These constants are most commonly used with the Apache
ggeett__rreemmoottee__hhoosstt method:
REMOTE_HOST
REMOTE_NAME
REMOTE_NOLOOKUP
REMOTE_DOUBLE_REV
http
This is the full set of HTTP response codes: (NOTE:
not all implemented here)
HTTP_METHOD_NOT_ALLOWED
HTTP_NOT_ACCEPTABLE
HTTP_LENGTH_REQUIRED
HTTP_PRECONDITION_FAILED
HTTP_SERVICE_UNAVAILABLE
HTTP_VARIANT_ALSO_VARIES
HTTP_NO_CONTENT
HTTP_METHOD_NOT_ALLOWED
HTTP_NOT_ACCEPTABLE
HTTP_LENGTH_REQUIRED
HTTP_PRECONDITION_FAILED
HTTP_SERVICE_UNAVAILABLE
HTTP_VARIANT_ALSO_VARIES
server
These are constants related to server version:
MODULE_MAGIC_NUMBER
SERVER_VERSION
SERVER_SUBVERSION
AAUUTTHHOORRSS
Doug MacEachern, Gisle Aas and h2xs