1

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?

3 Answers 3

2

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

2
  • Apache 2.2.9 - And httpd.conf is obsolete
    – JL.
    Aug 6, 2009 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, 2009 at 17:21
3

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.

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .