diff options
author | Olli Hauer <ohauer@FreeBSD.org> | 2013-03-26 21:35:33 +0000 |
---|---|---|
committer | Olli Hauer <ohauer@FreeBSD.org> | 2013-03-26 21:35:33 +0000 |
commit | fa82723bda8f0f26cb7b0e8e87cdb033580eb829 (patch) | |
tree | c487958f2e8f9eba4952b4df7dbd03d4cdb3e121 /www/apache24/files/patch-docs__conf__httpd.conf.in | |
parent | Add new port audio/lua51-mpd, a Lua client library for MPD, (diff) |
- new port www/apache24
The Apache HTTP Server Project is an effort to develop and maintain an
open-source HTTP server for various modern desktop and server operating
systems, such as UNIX and Windows NT. The goal of this project is to
provide a secure, efficient and extensible server which provides HTTP
services in sync with the current HTTP standards.
The 2.x branch of Apache Web Server includes several improvements like
threading, use of APR, native IPv6 and SSL support, and many more.
WWW: http://httpd.apache.org/
Note:
Since apache24 does not enable every module by default in httpd.conf the
list of modules to build was preselected to match build param
--enable-modules=most
MPM selection is now an OPTION also if the MPM is build statically or
dynamically. In the later case all modules are build/installed but only
the selected MPM has an entry in httpd.conf (see apache issue 53882)
Per default the MPM prefork (static) will be build, to get the best
compatibility.
Custom variants like itk/peruser are not supported at the moment.
Port based on my work prototype from the apache@ list and patch from
PR 174617
with hat apache@
PR: 174617
Submitted by: <swall@redcom.com>
Diffstat (limited to 'www/apache24/files/patch-docs__conf__httpd.conf.in')
-rw-r--r-- | www/apache24/files/patch-docs__conf__httpd.conf.in | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/www/apache24/files/patch-docs__conf__httpd.conf.in b/www/apache24/files/patch-docs__conf__httpd.conf.in new file mode 100644 index 000000000000..a246f6924ce0 --- /dev/null +++ b/www/apache24/files/patch-docs__conf__httpd.conf.in @@ -0,0 +1,49 @@ +--- ./docs/conf/httpd.conf.in.orig 2012-11-08 04:05:38.000000000 +0100 ++++ ./docs/conf/httpd.conf.in 2013-03-22 18:55:53.000000000 +0100 +@@ -74,8 +74,8 @@ + # It is usually good practice to create a dedicated user and group for + # running httpd, as with most system services. + # +-User daemon +-Group daemon ++User %%WWWOWN%% ++Group %%WWWGRP%% + + </IfModule> + +@@ -181,7 +181,7 @@ + # logged here. If you *do* define an error logfile for a <VirtualHost> + # container, that host's errors will be logged there and not here. + # +-ErrorLog "@rel_logfiledir@/error_log" ++ErrorLog "@rel_logfiledir@/httpd-error.log" + + # + # LogLevel: Control the number of messages logged to the error_log. +@@ -210,13 +210,13 @@ + # define per-<VirtualHost> access logfiles, transactions will be + # logged therein and *not* in this file. + # +- CustomLog "@rel_logfiledir@/access_log" common ++ CustomLog "@rel_logfiledir@/httpd-access.log" common + + # + # If you prefer a logfile with access, agent, and referer information + # (Combined Logfile Format) you can use the following directive. + # +- #CustomLog "@rel_logfiledir@/access_log" combined ++ #CustomLog "@rel_logfiledir@/httpd-access.log" combined + </IfModule> + + <IfModule alias_module> +@@ -406,7 +406,9 @@ + SSLRandomSeed startup builtin + SSLRandomSeed connect builtin + </IfModule> +-# ++ ++Include @rel_sysconfdir@/Includes/*.conf ++ + # uncomment out the below to deal with user agents that deliberately + # violate open standards by misusing DNT (DNT *must* be a specific + # end-user choice) |