diff options
author | Matt Smith <mcs@darkregion.net> | 2010-12-08 22:35:23 -0600 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-09 13:23:18 +0000 |
commit | f5f96266feb28f91e79456046ef2bcf850a00c50 (patch) | |
tree | 8a36ebc0bb6f9d94521d646087afea1602a1f43e /main/apache2/httpd.conf | |
parent | b44a406ea167e8d76c61590ffb6f9b9a5dd22c50 (diff) | |
download | aports-f5f96266feb28f91e79456046ef2bcf850a00c50.tar.bz2 aports-f5f96266feb28f91e79456046ef2bcf850a00c50.tar.xz |
main/apache2: fix worker and itk mpms, added itk configuration
The trouble I had while debugging this issue had to do with how I was attempting to install packages from aports. Thanks to Timo and Natanael for getting me back on the right track.
Once I was able to successfully install apache2 from aports, I got down to business. I have an updated APKBUILD that seems to fix the issue of having extra modules being compiled in with the alternative "itk" and "worker" MPMs; "{httpd,httpd.itk,httpd.worker} -l" output looks correct, and they all start without modifications to /etc/apache2/httpd.conf, so I believe this issue to be resolved.
I also added the itk configuration to httpd.conf.
fixes #473
Diffstat (limited to 'main/apache2/httpd.conf')
-rw-r--r-- | main/apache2/httpd.conf | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/main/apache2/httpd.conf b/main/apache2/httpd.conf index 88d983a9b2..5345c4fd32 100644 --- a/main/apache2/httpd.conf +++ b/main/apache2/httpd.conf @@ -108,6 +108,26 @@ MaxClients 256 MaxRequestsPerChild 4000 </IfModule> +# itk MPM +# AssignUserID: takes two parameters, uid and gid (or really, user name and +# group name); specifies what uid and gid the vhost will run as +# (after parsing the request etc., of course). +# MaxClientsVHost: a separate MaxClients for each vhost. +# NiceValue: lets you nice some requests down, to give them less CPU time. +# +# AssignUserID and NiceValue can be set wherever you'd like in the Apache +# configuration, except in .htaccess. MaxClientsVHost can only be set inside +# a VirtualHost directive. +<IfModule itk.c> +AssignUserID apache apache +StartServers 8 +MinSpareServers 5 +MaxSpareServers 20 +ServerLimit 256 +MaxClients 256 +MaxRequestsPerChild 4000 +</IfModule> + # worker MPM # StartServers: initial number of server processes to start # MaxClients: maximum number of simultaneous client connections |