On 09.08.2013 10:03, Georgios Petasis wrote:
> Hi all,
> 
> In my apache configuration, I am using a scripting language (tcl through
> apache rivet) which implements a "heavy" application, something that
> takes some minutes to start when apache starts a new process.
> 
> Is there a way to "separate" these "heavy" apache processes from the
> rest of the apache?
> 
> I.e. when the url is "/my_heavy_service" redirect the request to the
> apache which has the "heavy" application loaded, and the rest of the
> requests be handled by an apache with does not even has mod_rivet loaded?
> 
> Like starting an apache on a different port (i.e. 8123), which loads my
> application, and starting a "normal" apache on port 80, which serves all
> requests except some, which are directed to the server in port 8123.
> 
> In general I think it can be done (i.e.:
> http://wiki.apache.org/httpd/RunningMultipleApacheInstances),
> but is a way to do this in fedora 19, and keep all this "systemctl *
> httpd" stuff?
> 
> Has anyone attempted this?
> 
> George

It looks like you're in need of proxy server. I'm doing nginx + apache2
+ mod_wsgi for django deployments. Nginx is serving static files and
apache2 + mod_wsgi is serving apps. This is really nice and simple
solution. It is easy to maintain and when I do "ps" command I know what
is what.


Mateusz Marzantowicz
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to