Re: Can I run two "instances" of apache httpd?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
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




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux