httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Httpd Wiki] Update of "Minimal_Config" by thumbs
Date Fri, 01 Mar 2013 00:31:31 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.

The "Minimal_Config" page has been changed by thumbs:
http://wiki.apache.org/httpd/Minimal_Config

New page:
Here is a quick snippet of a minimal set of directive to launch an httpd instance.

It is meant to be used as a starting point when one either wants to clean up an old instance
which segfaults or suffers from other recurring issues, or achieve the minimum footprint on
a system limited on resources.

This is compatible with version 2.2 on the apache HTTP server. It could be adapted to work
on 2.4 provided mod_access_compat is loaded.

{{{
ServerRoot "/usr/pkg"

LoadModule dir_module lib/httpd/mod_dir.so
LoadModule mime_module lib/httpd/mod_mime.so
LoadModule authz_host_module lib/httpd/mod_authz_host.so
LoadModule rewrite_module lib/httpd/mod_rewrite.so

TypesConfig /usr/pkg/etc/httpd/mime.types

PidFile /tmp/mini-httpd.pid

User nobody

Listen 0.0.0.0:8080

DocumentRoot "/usr/local/htdocs"
DirectoryIndex index.html
ErrorLog syslog

<Directory />
  AllowOverride None
  Deny from all
</Directory>

<Directory /usr/local/htdocs>
  Allow from all
</Directory>
}}}

---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org


Mime
View raw message