Dear Monks:
I need help deploying a catalyst app on a shared host. I have tried the methods written up at:
The host runs apache and has Mod FastCGI installed. (EDIT: It's actually mod_fcgid.) Apache has ExecCGI and FollowSymLinks enabled. It does not have modRuid enabled.
The closest I have gotten is following the instructions in the first link -- the Catalyst Manual. (I had to change ln -s ~/lib/MyApp/script script to ln -s ~/MyApp/script script). As suggested, I put a .htaccess file into public_html. Here's what it looks like, ~/public_html/.htaccess:
RewriteEngine On RewriteCond %{REQUEST_URI} !^/?script/myapp_fastcgi.pl RewriteRule ^(.*)$ script/myapp_fastcgi.pl/$1 [PT,L]
With this config, when I go to mydomain.com, I get a server error. The log shows that myapp_fastcgi.pl starts, loads the app, but breaks with this message:
AH01215: STDIN is not a socket: specify a listen location at /usr/loca +l/share/perl5/Plack/Handler/FCGI.pm line 57.: /home/mydomain/public_h +tml/script/myapp_fastcgi.pl
The only lead I have is that adding AddHandler fcgid-script .pl to ~/public_html/.htaccess results in a not found error, The requested URL /script/myapp_fastcgi.pl/ was not found on this server. I don't know whether that's actually a lead or not. The app loads fine on the server; there are no missing modules, etc.
I'm completely stumped. I have asked on #catalyst several times but without success. I would very, very grateful for any help.
In reply to Deploying Catalyst App On Shared Server by varanasi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |