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 am trying to setup mono and apache, its setup and working, but now I want to add the mono control panel and also a host to the web site,

I've just opened httpd.conf, and the file is completely empty. Is there a way to generate a proper template for this file?

share|improve this question

3 Answers 3

up vote 1 down vote accepted

You don't mention which major version of Apache you're on. I believe different versions have slightly different option sets

However, a quick [favourite search engine] search for something along the lines of 'apache version httpd.conf example' should yield results for you

But, probably the bigger question you need to answer is why is the httpd.conf blank. That's worth looking in to

share|improve this answer
    
Apache 2.2.9 - And httpd.conf is obsolete –  JL. Aug 6 '09 at 17:16
    
I've just checked an Apache 2 installation, httpd.conf exists. Admittedly, it only contains include statements for other .conf files, but it still exists This is an old install though, so I don't know how much has changed since then –  Ben Quick Aug 6 '09 at 17:21

Debian-based distributions leave a blank httpd.conf in /etc/apache2. All of the actual configuration is in /etc/apache2/apache2.conf. Is that, perhaps, what you're seeing?

In either case, many distributions keep example config files in /usr/share/doc/$pkgname.

share|improve this answer

Options:

  1. Search the file system for httpd.default.conf
  2. Download the Apache source, and extract httpd.conf
  3. Build your own: Apache 2, Apache 1
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.