packages:apache
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| packages:apache [2013-06-11 19:32] – [Apache] glen | packages:apache [2015-02-12 17:06] (current) – [Known Issues] links glen | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Apache ====== | + | ====== Apache |
| + | |||
| + | ===== Known Issues ===== | ||
| + | |||
| + | [[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 in Th on June 7, 2013. See [[http:// | Apache 2.4 has landed in Th on June 7, 2013. See [[http:// | ||
| + | <note important> | ||
| + | **Access control incompatible changes** | ||
| - | ===== Authz compat | + | 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: | ||
| - | If in Apache 2.0/2.2, you would write: | ||
| <code apache> | <code apache> | ||
| Allow from all | Allow from all | ||
| </ | </ | ||
| - | Then having apache 2.4 and 2.x support, | + | you need to use: |
| <code apache> | <code apache> | ||
| - | < | + | # Apache 2.x |
| - | | + | |
| - | Require all granted | + | |
| - | </ | + | |
| < | < | ||
| Order allow,deny | Order allow,deny | ||
| Allow from all | Allow from all | ||
| + | </ | ||
| + | # Apache 2.4 | ||
| + | < | ||
| + | Require all granted | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
packages/apache.1370971922.txt.gz · Last modified: 2013-06-11 19:32 by glen