X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FDeployment%2FSharedHosting.pod;h=fe91770443d93b162dc1bef547ece629cdaf0cb8;hb=655be431ded35a10854ca2bc8a46517d694f34dd;hp=25c4214bf7311ff55247d6bf20a4b68621d99241;hpb=2d62c370d643f3abbe765aaba07ed2e188f31de7;p=catagits%2FCatalyst-Manual.git diff --git a/lib/Catalyst/Manual/Deployment/SharedHosting.pod b/lib/Catalyst/Manual/Deployment/SharedHosting.pod index 25c4214..fe91770 100644 --- a/lib/Catalyst/Manual/Deployment/SharedHosting.pod +++ b/lib/Catalyst/Manual/Deployment/SharedHosting.pod @@ -4,25 +4,25 @@ Catalyst::Manual::Deployment::SharedHosting - Deploying Catalyst on Shared Hosti =head1 Catalyst on shared hosting -So, you want to put your Catalyst app out there for the whole world to -see, but you don't want to break the bank. There is an answer - if you -can get shared hosting with FastCGI and a shell, you can install your -Catalyst app in a local directory on your shared host. First, run +So, you want to put your Catalyst application out there for the whole +world to see, but you don't want to break the bank. There is an answer - +if you can get shared hosting with FastCGI and a shell, you can install +your Catalyst app in a local directory on your shared host. First, run perl -MCPAN -e shell -and go through the standard CPAN configuration process. Then exit out +and go through the standard CPAN configuration process. Then exit without installing anything. Next, download the latest L -package and follow it's 'bootstrap' instructions to get it installed +package and follow its 'bootstrap' instructions to get it installed and the local configuration added to your C<< ~/.bashrc >>. Now log out, then back in again (or run C<". .bashrc"> if you prefer). -Now you can install the modules you need using CPAN as normal; they -will be installed into your local directory, and perl will pick them -up. Finally, change directory into the root of your virtual host and -symlink your application's script directory in: +Now you can install the modules you need using CPAN as normal; they will +be installed into your local directory, and Perl will pick them up. +Finally, change into the root directory of your virtual host, and +symlink your application's script directory: cd path/to/mydomain.com ln -s ~/lib/MyApp/script script @@ -36,7 +36,7 @@ myapp_fastcgi.fcgi and/or use a SetHandler directive): RewriteRule ^(.*)$ script/myapp_fastcgi.pl/$1 [PT,L] Now C should now Just Work. Congratulations, now -you can tell your friends about your new website. +you can tell your friends about your new website. =head1 AUTHORS