Absolute Bare Bones httpd.conf

October 27, 2007

What is the exact minimum you need to get Apache to start? Here it is:

Listen 80

User apache
Group apache

ErrorLog /var/log/httpd/error_log

That’s all you need to get Apache to start serving pages. Pages are served from /usr/htdocs. (not sure if that’s set during compile time or if it’s hard coded) Pages are also served without MIME detection so you will probably wind up seeing the HTML code in your browser instead of a nicely formatted document unless you set the DefaultType directive.

Entry Filed under: Linux. Tags: , , .

Leave a Comment

Required

Required, hidden

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <pre> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed


Feeds

My Projects

Slackware

Archives