Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Specifically, I have two httpd.conf files:

/etc/apache2/httpd.conf

/etc/apache2/httpd_2.conf

How should I modify the /etc/init.d/apache2 script so that instances of Apache will be invoked for both configurations?

The apache2 script is currently standard/unmodified.

share|improve this question
    
I thought we can't use httpd.conf in apache2... –  thefourtheye May 5 '13 at 14:54

1 Answer 1

see http://serverfault.com/a/397236

alternatively, is it possible to solve your problem with different vhosts?

share|improve this answer
1  
While this link may answer the question, it is better to include the essential parts of the answer here and provide the link for reference. Link-only answers can become invalid if the linked page changes. –  Stephen Myall Jul 5 '13 at 8:30
1  
on the one hand i understand your concern about bit-rot and disappearing links. on the other hand i do not believe in content duplication and prefer to have one place for a piece of information where it can (possibly) receive future updates. i will turn my answer into a community wiki, so other people can copy over the information. –  mnagel Jul 5 '13 at 8:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.