Is it possible to rsync your web site to another backup server and use the same .htaccess files?

Posted by stephenmm on Super User See other posts from Super User or by stephenmm
Published on 2010-06-07T02:32:46Z Indexed on 2010/06/07 2:42 UTC
Read the original article Hit count: 284

Filed under:
|
|
|

I am trying to use rsync to replicate all the files from one web server to another server that could act as a backup if the first one went down. The problem I am having is that the .htaccess file requires the AuthUserFile to have the fully quallified path to the .htpasswd file and I cannot make the paths the same on the two machines.

Does anyone know how I might use the same .htaccess file on two different servers?

Thanks for any help that can be provided.

© Super User or respective owner

Related posts about website

Related posts about server