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)
