X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FDeployment.pod;h=fd1aed708d23b262a0054f13715cb68239dbc632;hb=eaeeb5e62434ac986f5538adc3a85dd033192f1a;hp=0ce91472fc2caf4b5e4d6f03ae399bf4747da342;hpb=45b58a85a818703c790e8c09786cc449bad3506c;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Deployment.pod b/lib/Catalyst/Manual/Deployment.pod index 0ce9147..fd1aed7 100644 --- a/lib/Catalyst/Manual/Deployment.pod +++ b/lib/Catalyst/Manual/Deployment.pod @@ -2,18 +2,77 @@ Catalyst::Manual::Deployment - Deploying Catalyst -=head1 +=head1 DEPLOYMENT OPTIONS -=head1 mod_perl +Catalyst applications most often deployed as a FastCGI or mod_perl application, however +as Catalyst is based on the L specification, any web handler implementing that specification +can be used to run Catalyst applications. -L +This documentation most thoroughly covers the normal and traditional deployment options, but +will mention alternate methods of deployment, and we welcome additional documentation from +people deploying Catalyst in non-standard environments. -=head1 FastCGI +=head2 Deployment for shared hosting -=head2 Apache +Almost all shared hosting environments involve deploying Catalyst as a FastCGI on Apache. + +You will usually want to have a set of libraries specific to your application installed on +your shared host, and there are instructions about +this in L. + +=head2 FastCGI + +FastCGI is the most common Catalyst deployment option, it is documented generally in +L, and there are specific instructions for common +web servers linked below: + +=head3 Apache L +=head3 nginx + +L + +=head3 lighttpd + +L + +=head3 Microsoft IIS + +L + +=head2 mod_perl + +Traditionally a common deployment option for dedicated applications, with some advantages and +disadvantages over FastCGI. This is documented in L. + +=head2 Development Server + +It is possible to deploy the Catalyst development server behind a reverse proxy. This may work +well for small scale applications which are in an early development phase, but you want to be +able to show to people. See: L. + +=head2 PSGI + +Catalyst can be deployed with any PSGI compliant handler. See L for more information, +and a list of possible deployment servers are shown below: + +=head3 Starman + +L is a high performance perl server implementation, which is designed to be used +directly (rather than behind a reverse proxy). It includes HTTP/1.1 support, +chunked requests and responses, keep-alive xxand pipeline requests. + +=head3 Starlet. + +Starlet is a standalone HTTP/1.0 server with keep‐alive support which is suitable for running +HTTP application servers behind a reverse proxy. + +=head3 Twiggy + +L is a high-performance asynchronous web server. It can be used in conjunction with Catalyst, +but with a number of caveats which mean that it is not suitable for most deployments. =head1 AUTHORS