Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I noticed installing a fresh Apache (2.4.2) doesn't have the Debian structure. (sites-available, sites-enabled, (blank) httpd.conf, etc...), so if I wanted to move my virtual settings over from a Debian structured Apache, would I just append all my virtual hosts settings at the bottom of httpd.conf? What about SSL, do I have to a2enmod ssl?

It's so weird, I think the Debian structure is so much more organized and clean.

share|improve this question
    
Where did you get this copy of 2.4.2? –  bahamat Jul 5 '12 at 17:49
    
Apache. Not Debian. –  Doug Jul 5 '12 at 18:15
1  
Yes. Allow me to rephrase my question. "Where did you get this copy of Apache 2.4.2?" Only Apache 2.2 is included with Squeeze, so you didn't get it from Debian's repository. –  bahamat Jul 5 '12 at 20:24
    
I got it from Apache's website. Not Debians repository. –  Doug Jul 5 '12 at 20:30

1 Answer 1

up vote 3 down vote accepted

You can duplicate the Debian structure in a non-Debian system, by using the same pattern of Include directives in your own httpd.conf. You won't get the helpers like a2enmod by default, but you could bring those across as well if you wanted.

share|improve this answer

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.