Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7719247
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T03:22:03+00:00 2026-06-01T03:22:03+00:00

I have a suse box that holds three Catalyst apps. Ultimately I need to

  • 0

I have a suse box that holds three Catalyst apps. Ultimately I need to run all three (which in itself is not a problem, each has a different port) through Apache with mod_perl and SSL. I have successfully gotten to the point of firing up one Catalyst app and then having a successful transition to the Catalyst server.

In case anyone needs a GREAT step by step on how to do this, you can see it here. http://www.catalystframework.org/calendar/2005/7

I’m not an Apache expert, but the problem is that I am not aware that there is a way to run multiple Catalyst apps on one server and have Apache to somehow be able to serve up all three.

The page at http://www.catalystframework.org/calendar/2005/7 even says as much…..

Cons
Cannot run multiple versions of the same app
It is not possible to run two different versions of the same application in the same Apache instance because the namespaces will collide.

That being said, is this possible through multiple instances of Apache? Somehow? Through virtual hosts directives maybe? I know that by pre-loading the Catalyst app into Apache that it’s going to take up huge memory each time I do that.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T03:22:04+00:00Added an answer on June 1, 2026 at 3:22 am

    OK! I have found the answer.
    You can indeed run more than one Catalyst app via Apache/mod_perl, you just can’t run the more than one instance of the same app. That being said, here’s all you have to do run more than one (without the use of VirtualHost directives). In your default-server.conf

    PerlSwitches -I/home/me/catalyst/App1/lib
    PerlSwitches -I/home/me/catalyst/App2/lib
    
    PerlModule App1
    PerlModule App2
    
    <Location /app1>
            SetHandler modperl
            PerlResponseHandler App1
    </Location>
    
    <Location /app2>
            SetHandler modperl
            PerlResponseHandler App2
    </Location>
    

    Apache pulls in the entire Catalyst app into memory and then treats it as a handler. Only downside is that it eats memory having more than one app like this in memory. Upside is speed and that mod_perl will share the modules needed for both.

    Hopefully this will help if you’re having the same issue. Also, Apache/mod_perl and your Catalyst apps must be compiled under the same version of Perl or you’re going to get “undefined symbol” errors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a J2EE app built on Struts2+spring+iBatis; not all DAO's use iBatis...some code
Updated: The actual resolution that the compile box which served my compile request was
I'm sitting on an OpenSuse 11.1 x64 Box and I have a module that
I have a Perl script which will run in a cron job on linux
We have a product that is distributed via RPMs. We create both SUSE SLES10
I have a 64 bit Enterprice SuSE 11 I have an application which open
I have a few test databases in some Unix SUSE 8 servers and initially
Have just started using Visual Studio Professional's built-in unit testing features, which as I
I have a script which uses killproc and procofpid commands and executes fine on
I have the following code, running on Suse 10.1 / G++ 4.1.0, and it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.