Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Deploying Catalyst App On Shared Server

by zakame (Pilgrim)
on Aug 28, 2017 at 04:46 UTC ( [id://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 (Scribe) 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-24 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found