Absolute Bare Bones httpd.conf

October 27, 2007 at 2:45 pm Leave a comment

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: , , .

Testing Apache Mercurial: First Impressions

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Trackback this post  |  Subscribe to the comments via RSS Feed


Feeds


Follow

Get every new post delivered to your Inbox.

%d bloggers like this: