separate Apache instances

Alles, was den Apache betrifft, kann hier besprochen werden.

separate Apache instances

Postby semtext » 09. November 2015 14:35

Hello,

I need two separate instances of Apache in Debian 7, which should run simultaneously (on different ports).
Can I clone the /etc/apache2 directory and create a directory like /etc/apache2_2 or is there a better way to do it?

Thanks
semtext
semtext
 
Posts: 3
Joined: 09. November 2015 14:05
Operating System: Debian 7

Re: separate Apache instances

Postby Nobbie » 09. November 2015 15:11

Why do need two different instances?

Many many problems of this kind can be solved be using VirtualHosts.
Nobbie
 
Posts: 8769
Joined: 09. March 2008 13:04

Re: separate Apache instances

Postby semtext » 09. November 2015 15:49

Thank you for your quick response!

I want to install multiple instances of OTRS (trouble ticket system) which should not interfere with each other.
Also if I want to shutdown one instance of apache, the other one should still run.

It is also recommended by OTRS: http://wiki.otterhub.org/index.php?title=Multiple_OTRS-Installations_on_1_server#Second_Instance_of_httpd
semtext
 
Posts: 3
Joined: 09. November 2015 14:05
Operating System: Debian 7

Re: separate Apache instances

Postby Nobbie » 09. November 2015 16:02

semtext wrote:
It is also recommended by OTRS: http://wiki.otterhub.org/index.php?titl ... e_of_httpd


No, that is NOT a recommendation, it is only a HOW TO. But I cannot see, why they do not use VirtualHosts instead.

Anyway, you may follow that article and install another Apache. This is beyond the scope of this forum.
Nobbie
 
Posts: 8769
Joined: 09. March 2008 13:04

Re: separate Apache instances

Postby semtext » 09. November 2015 16:04

Thank you.

Since my existing Apache config is not "clean". Is there a way to get a "untouched" one? It would be easier than edit the old one.
semtext
 
Posts: 3
Joined: 09. November 2015 14:05
Operating System: Debian 7

Re: separate Apache instances

Postby Nobbie » 09. November 2015 16:10

I dont know, that is a specific Debian installation, you should ask in a Debian Forum.

This forum here is

a) not Debian

b) not English(!). This is a german forum: "Grundlagen und Wissenswertes"
Nobbie
 
Posts: 8769
Joined: 09. March 2008 13:04


Return to Apache

Who is online

Users browsing this forum: No registered users and 3 guests