Hello, I've just successfully upgraded everything in our Apache setup from 2.2.22 to 2.4.1. The strangest part was the log rotation. We're on windows so we use the bundled logrotate function. We basically had to change it from |bin/logrotate to |bin/logrotate.exe. We also changed from 32 bit to 64 bit apache so that could have caused that as well. Anyway, for anyone who cares, I figured I'd send out the diff. Feel free to comment on the changes. There are a number of other changes I plan on making at some point (for example merging our Location /, Directory /, and Directory $document_root) but one thing at a time :-) (note, this is template toolkit as the config file is moderately generated) -ServerRoot "C:/Program Files[% IF is_64_bit %] (x86)[% END %]/Apache Software Foundation/Apache2.2" +ServerRoot "C:/Program Files[% IF is_64_bit %] (x86)[% END %]/Apache Software Foundation/Apache2.4" Listen 80 LoadModule auth_basic_module modules/mod_auth_basic.so +LoadModule authn_core_module modules/mod_authn_core.so +LoadModule authz_core_module modules/mod_authz_core.so LoadModule authz_host_module modules/mod_authz_host.so LoadModule cgi_module modules/mod_cgi.so LoadModule dir_module modules/mod_dir.so LoadModule env_module modules/mod_env.so LoadModule log_config_module modules/mod_log_config.so LoadModule mime_module modules/mod_mime.so LoadModule setenvif_module modules/mod_setenvif.so LoadModule headers_module modules/mod_headers.so LoadModule proxy_module modules/mod_proxy.so LoadModule proxy_http_module modules/mod_proxy_http.so +# slotmem_shm required for proxy_http +LoadModule slotmem_shm_module modules/mod_slotmem_shm.so LoadModule proxy_balancer_module modules/mod_proxy_balancer.so +# lbmethod_byrequests required for proxy_balancer +LoadModule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so LoadModule cache_module modules/mod_cache.so -LoadModule mem_cache_module modules/mod_mem_cache.so +LoadModule cache_disk_module modules/mod_cache_disk.so LoadModule deflate_module modules/mod_deflate.so LoadModule rewrite_module modules/mod_rewrite.so RewriteEngine on RewriteRule ^/cgi/ip.plx /app/checkin/checkin [PT] ProxyRequests Off <Proxy balancer://my_cluster> BalancerMember http://127.0.0.1:3000 </Proxy> ProxyPass /app balancer://my_cluster/ -# This fixes a bug with the OS - See http://httpd.apache.org/docs/2.0/mod/mpm_winnt.html for details -Win32DisableAcceptEx ServerAdmin lynx@xxxxxxxxx DocumentRoot "[% drive %]/inetpub/wwwroot" -# Does nothing in windows - do not use +# Now it does do things in windows, should we use it? #ThreadLimit 64 ThreadsPerChild 1024 MaxRequestsPerChild 1000 MaxMemFree 0 EnableSendFile On KeepAlive On KeepAliveTimeout 15 MaxKeepAliveRequests 80 -CacheEnable mem / -MCacheSize 4096 -MCacheMaxObjectCount 100 -MCacheMinObjectSize 1 -MCacheMaxObjectSize 204800 +CacheEnable disk / +CacheMinFileSize 1 +CacheMaxFileSize 204800 +CacheRoot "[% drive %]/var/cacheroot" <Location /> SetOutputFilter DEFLATE BrowserMatch \bMSIE !no-gzip !gzip-only-text/html SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary # Make sure proxies don't deliver the wrong content Header append Vary User-Agent env=!dont-vary # disable Vary header if there is no User-Agent (dumb gameboy hardware) SetEnvIf User-Agent . lynx_has_ua Header unset vary env=!lynx_has_ua Header unset status env=!lynx_has_ua Header unset x-catalyst env=!lynx_has_ua </Location> <Directory /> Options FollowSymLinks - AllowOverride None - Order deny,allow - Allow from all + Require all granted </Directory> <Directory "[% drive %]/inetpub/wwwroot"> Options FollowSymLinks ExecCGI - AllowOverride None - Order allow,deny - Allow from all + Require all granted </Directory> DirectoryIndex default.htm # The following lines prevent .htaccess and .htpasswd files from being # viewed by Web clients. <FilesMatch "^\.ht"> - Order allow,deny - Deny from all - Satisfy All + Require all denied </FilesMatch> <FilesMatch ".*\.pm"> - Order allow,deny - Deny from all - Satisfy All + Require all denied </FilesMatch> -ErrorLog "|bin/rotatelogs [% drive %]/Inetpub/log/apache/error-%Y-%m-%d.log 86400" +ErrorLog "|bin/rotatelogs.exe [% drive %]/Inetpub/log/apache/error-%Y-%m-%d.log 86400" LogLevel warn LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined LogFormat "%h %l %u %t \"%r\" %>s %b" common -CustomLog "|bin/rotatelogs [% drive %]/Inetpub/log/apache/access-%Y-%m-%d.log 86400" common - -DefaultType text/plain - +CustomLog "|bin/rotatelogs.exe [% drive %]/Inetpub/log/apache/access-%Y-%m-%d.log 86400" common TypesConfig conf/mime.types AddType application/x-compress .Z AddType application/x-gzip .gz .tgz AddType text/plain .ts1 AddType text/plain .ts2 AddType text/plain .ts3 AddType text/plain .tsx AddHandler cgi-script .plx .pl ErrorDocument 404 /error404.htm Hope this helps someone out there :-) -- fREW Schmidt http://blog.afoolishmanifesto.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx