I am trying to setup a fileserver in different geographical locations on a centos based linux server. Currently I am planning to have two such servers now and will be extending that to other areas in the near future. The file servers should be mirroring itself when a file is added in any of the location(I am yet to arrive at a deletion strategy, but just thinking should allow deletion of files when it is deleted from the primary server). Currently I am thinking I will have apache "directory listing" and rsync to do this work. I just want to know if there are any better tools to do the above. Also I would like to hear some suggestions on a better directory listing script(php/python based). It would be good if this tools has some search capabilities, options to upload files, etc(Am I asking too much ? ;) ).
Note: The current server also hosts a subversion replication. I also thought about committing all files into subversion and get it checked out in the secondary location. But I feel space would be a constraint as I would have keep removing some unwanted files so that I will have diskspace under control, this will not be possible as svn's version history will hold the data
Thanks in advance.