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