Changes between Version 11 and Version 12 of AWIKIServer


Ignore:
Timestamp:
08/07/15 18:02:32 (4 years ago)
Author:
admin
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AWIKIServer

    v11 v12  
     1= Running behind proxies =
     2
     3== mod_rpaf ==
     4RPAF is responsible for interpreting the 'X-Forwarded-IP' header for apache. This means that IP addresses show up properly in the access.log, and can be used for access control.
     5It also sets the domain name presented to mediawiki "properly".
     6
     7 * apt-get install libapache2-mod-rpaf
     8 * edit /etc/apache2/mods-enabled/rpaf.conf , and add the ip of EACH of your proxies to the line that starts with {{{RPAFproxy_ips}}}.
     9 * edit /etc/mediawiki/LocalSettings.php, and add the line {{{$wgServer=preg_replace('/, .*/','', $wgServer);}}}, in order to make MediaWiki see it's domain properly.
     10
     11== MediaWiki ==
     12
     13 * edit /etc/mediawiki/LocalSettings.php. add the following lines:
     14{{{
     15$wgUsePrivateIPs = true;
     16$wgSquidServers = array('172.16.0.1', '10.0.2.51');
     17}}}
     18Again, just like the above, make sure to list EACH of your proxy servers.
     19
    120= Post Install =
    221After installation, the mysql database still needs to be configured.
     
    87106
    88107}}}
    89