User Tools

Site Tools


lsync_apache

This is an old revision of the document!


vim /etc/sysconfig/httpd
OPTIONS="-DSLAVE"
Example wordpress lsync apache configuration entry:
        <IfDefine SLAVE>
          RewriteEngine On
          ProxyPreserveHost On

          ProxyPass /wp-admin/ http://${MASTER_SERVER}/wp-admin/
          ProxyPassReverse /wp-admin/ http://${MASTER_SERVER}/wp-admin/

          RewriteCond %{REQUEST_METHOD} =POST
          RewriteRule . http://${MASTER_SERVER}%{REQUEST_URI} [P]
        </IfDefine>

lsync_apache.1453811075.txt.gz · Last modified: 2024/05/23 07:26 (external edit)

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki