Revert "Note that Apache 1.3 won't work with mod_perl with >= catalyst 5.9"
[catagits/Catalyst-Manual.git] / lib / Catalyst / Manual / Deployment.pod
CommitLineData
01b62b15 1=head1 NAME
2
3Catalyst::Manual::Deployment - Deploying Catalyst
4
0e8eed8e 5=head1 DEPLOYMENT OPTIONS
01b62b15 6
506ff3c8 7Catalyst applications most often deployed as a FastCGI or mod_perl application,
8however as Catalyst is based on the L<PSGI> specification, any web handler
9implementing that specification can be used to run Catalyst applications.
0e8eed8e 10
506ff3c8 11This documentation most thoroughly covers the normal and traditional deployment
12options, but will mention alternate methods of deployment, and we welcome
13additional documentation from people deploying Catalyst in non-standard
14environments.
0e8eed8e 15
2d62c370 16=head2 Deployment for shared hosting
17
506ff3c8 18Almost all shared hosting environments involve deploying Catalyst as a FastCGI
19on Apache.
01b62b15 20
506ff3c8 21You will usually want to have a set of libraries specific to your application
22installed on your shared host, and there are instructions about this in
23L<Catalyst::Manual::Deployment::SharedHosting>.
01b62b15 24
0e8eed8e 25=head2 FastCGI
26
506ff3c8 27FastCGI is the most common Catalyst deployment option, it is documented
28generally in L<Catalyst::Manual::Deployment::FastCGI>, and there are specific
29instructions for common web servers linked below:
01b62b15 30
0e8eed8e 31=head3 Apache
01b62b15 32
33L<Catalyst::Manual::Deployment::Apache::FastCGI>
34
0e8eed8e 35=head3 nginx
36
37L<Catalyst::Manual::Deployment::nginx::FastCGI>
38
39=head3 lighttpd
40
41L<Catalyst::Manual::Deployment::lighttpd::FastCGI>
42
43=head3 Microsoft IIS
44
45L<Catalyst::Manual::Deployment::IIS::FastCGI>
46
2d62c370 47=head2 mod_perl
48
506ff3c8 49Traditionally a common deployment option for dedicated applications, with some
50advantages and disadvantages over FastCGI. This is documented in
51L<Catalyst::Manual::Deployment::Apache::mod_perl>.
2d62c370 52
0e8eed8e 53=head2 Development Server
54
506ff3c8 55It is possible to deploy the Catalyst development server behind a reverse
56proxy. This may work well for small scale applications which are in an early
57development phase, but you want to be able to show to people. See:
58L<Catalyst::Manual::Deployment::DevelopmentServer>.
0e8eed8e 59
60=head2 PSGI
01b62b15 61
506ff3c8 62Catalyst can be deployed with any PSGI compliant handler. See L<Catalyst::PSGI>
63for more information, and a list of possible deployment servers are shown
64below:
2d62c370 65
66=head3 Starman
67
506ff3c8 68L<Starman> is a high performance perl server implementation, which is designed
69to be used directly (rather than behind a reverse proxy). It includes HTTP/1.1
70support, chunked requests and responses, keep-alive xxand pipeline requests.
2d62c370 71
72=head3 Starlet.
73
506ff3c8 74Starlet is a standalone HTTP/1.0 server with keepā€alive support which is
75suitable for running HTTP application servers behind a reverse proxy.
2d62c370 76
77=head3 Twiggy
78
506ff3c8 79L<Twiggy> is a high-performance asynchronous web server. It can be used in
80conjunction with Catalyst, but with a number of caveats which mean that it is
81not suitable for most deployments.
2d62c370 82
01b62b15 83=head1 AUTHORS
84
85Catalyst Contributors, see Catalyst.pm
86
87=head1 COPYRIGHT
88
89This library is free software. You can redistribute it and/or modify it under
90the same terms as Perl itself.
91
92=cut
19a5b486 93