Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Deploying Catalyst App On Shared Server

by zakame (Pilgrim)
on Aug 28, 2017 at 04:46 UTC ( #1198129=note: print w/replies, xml ) Need Help??

in reply to Deploying Catalyst App On Shared Server

The closest I have gotten is following the instructions in the first link -- the Catalyst Manual.

Did you heed this part:

(assuming the server is setup to handle .pl as fcgi - you may need to rename the script to myapp_fastcgi.fcgi and/or use a SetHandler directive).

I might be wrong, but just in case do check that your server does handle .pl as .fcgi, and not accidentally handling .pl as would be in a plain cgi-bin (or rename/symlink your scripts like so.) Otherwise, you probably need to escalate to your server provider to enable handling .pl as .fcgi for your virtualhost, among others.

Replies are listed 'Best First'.
Re^2: Deploying Catalyst App On Shared Server
by varanasi (Beadle) on Aug 28, 2017 at 10:39 UTC

    Thanks for looking at this so carefully. I should have mentioned in my original post that I did indeed try the suggestion in the docs of renaming the script and made matching changes to the .htaccess file.

    I'm not sure how to tell whether the server is handling a script as cgi or fast_cgi. Is there a way to determine this? (I thought adding an AddHandler in the .htaccess file forced this, but that's merely an assumption I made looking at the material at the links above.)

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1198129]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2019-05-23 23:46 GMT
Find Nodes?
    Voting Booth?
    Do you enjoy 3D movies?

    Results (147 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!