packages:apache
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
packages:apache [2013-06-11 19:26] – created glen | packages:apache [2015-02-12 17:06] (current) – [Known Issues] links glen | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Apache ====== | + | ====== Apache |
+ | ===== Known Issues ===== | ||
- | Apache 2.4 has landed Th on June 7, 2013, see [[http:// | + | [[http:// |
+ | < | ||
+ | # service httpd restart | ||
+ | Checking Apache 2.4 Web Server configuration.................................[ DONE ] | ||
+ | Stopping Apache 2.4 Web Server service.......................................[ DONE ] | ||
+ | Starting Apache 2.4 Web Server service.......................................[ FAIL ] | ||
+ | (98)Address already in use: AH00072: make_sock: could not bind to address [::]:8080 | ||
+ | (98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0: | ||
+ | no listening sockets available, shutting down | ||
+ | AH00015: Unable to open logs | ||
+ | </ | ||
+ | |||
+ | It's [[http:// | ||
+ | |||
+ | You should try enabling and increasing it | ||
+ | |||
+ | ===== Apache 2.4 ===== | ||
+ | |||
+ | Apache 2.4 has landed | ||
+ | |||
+ | <note important> | ||
+ | **Access control incompatible changes** | ||
+ | |||
+ | All webapps have been migrated to new [[https:// | ||
+ | The rationale for it is that // | ||
+ | |||
+ | **Note:** | ||
+ | In case there exist both // | ||
+ | </ | ||
+ | |||
+ | ==== Upgrading ==== | ||
+ | |||
+ | Detailed information about upgrading and all changes between apache 2.2 and 2.4 can be found [[https:// | ||
+ | |||
+ | as for more complex examples, require ip or password: | ||
+ | |||
+ | <code apache Apache 2.x> | ||
+ | Order Deny, | ||
+ | Deny from all | ||
+ | |||
+ | Allow from my.lan | ||
+ | Allow from 2001: | ||
+ | |||
+ | AuthType Basic | ||
+ | AuthName www.my.lan | ||
+ | AuthBasicProvider ldap | ||
+ | AuthLDAPURL " | ||
+ | Require valid-user | ||
+ | |||
+ | Satisfy Any | ||
+ | </ | ||
+ | |||
+ | The solution is very simple, just list the requirements and 2.4 somehow magically knows what you mean: | ||
+ | |||
+ | <code apache Apache 2.4> | ||
+ | Require host my.lan | ||
+ | Require ip 2001: | ||
+ | |||
+ | AuthType Basic | ||
+ | AuthName www.my.lan | ||
+ | AuthBasicProvider ldap | ||
+ | AuthLDAPURL " | ||
+ | |||
+ | Require valid-user | ||
+ | </ | ||
+ | |||
+ | Source: http:// | ||
+ | |||
+ | If you need to '' | ||
+ | |||
+ | ===== Apache 2.2 and 2.4 compatible configs ===== | ||
+ | |||
+ | If you need to support both Apache 2.2 and 2.4, then, for example, if Apache 2.2 config contained: | ||
+ | |||
+ | <code apache> | ||
+ | Allow from all | ||
+ | </ | ||
+ | |||
+ | you need to use: | ||
+ | |||
+ | <code apache> | ||
+ | # Apache 2.x | ||
+ | < | ||
+ | Order allow, | ||
+ | Allow from all | ||
+ | </ | ||
+ | # Apache 2.4 | ||
+ | < | ||
+ | Require all granted | ||
+ | </ | ||
+ | </ | ||
packages/apache.1370971599.txt.gz · Last modified: 2013-06-11 19:26 by glen