This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
mod_realip [2016/08/08 21:27] kyxap |
mod_realip [2016/08/08 21:29] (current) kyxap |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| {{tag>apache realip}}====== mod_realip для apache 2.2.x ====== | {{tag>apache realip}}====== mod_realip для apache 2.2.x ====== | ||
| - | UPDATE: **apache2.4** | + | **apache2.4** |
| + | <file conf /etc/apache2/mods-enabled/remoteip.conf> | ||
| RemoteIPHeader X-Real-IP | RemoteIPHeader X-Real-IP | ||
| RemoteIPTrustedProxy 127.0.0.1 | RemoteIPTrustedProxy 127.0.0.1 | ||
| + | </file> | ||
| + | |||
| + | **apache2.2** | ||
| Не требует никакой настройки, достаточно скомпилировать и установить. При необходимости можно изменить заголовок с X-Real-IP на желаемый. | Не требует никакой настройки, достаточно скомпилировать и установить. При необходимости можно изменить заголовок с X-Real-IP на желаемый. | ||