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:59] – baggins | 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:// | ||
| Line 13: | Line 33: | ||
| </ | </ | ||
| - | ===== Upgrading | + | ==== Upgrading ==== |
| Detailed information about upgrading and all changes between apache 2.2 and 2.4 can be found [[https:// | 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,Allow | ||
| + | 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,deny | ||
| + | Allow from all | ||
| + | </ | ||
| + | # Apache 2.4 | ||
| + | < | ||
| + | Require all granted | ||
| + | </ | ||
| + | </ | ||
packages/apache.1370973553.txt.gz · Last modified: 2013-06-11 19:59 by baggins