On 3/15/07, Ersin Er <[EMAIL PROTECTED]> wrote:
On 3/15/07, Joshua Slive <[EMAIL PROTECTED]> wrote:
> Anything that can be done with an Alias can also be done with a > RewriteRule. From peeking into your .htaccess, you can, for example, > replace > Alias /apacheds/1.0 /x1/www/directory.apache.org/cwiki/DIRxSRVx10 > with > RewriteRule ^apacheds/1\.0(.*) /x1/www/directory.apache.org/cwiki/DIRxSRVx10$1 > > But that looks like an over-complex nightmare to me. Why don't you > just change the directory names when you do the rsync copy. In other > words, rsync DIRxSRVx10 directly into > /www/directory.apache.org/apacheds/1.0/. The solution is not that simple. (Or I was not able to solve as a more possible option.) To be able to do that we need to change our name space organization. If we directly rsync to final destinations we'll loose control of manually added content (like d.a.o/staticresources or d.a.o/ldapstudio/update).
This is easy enough to solve by either omitting the --delete option of rsync (which will cause it to leave existing content untouched) and then manually cleaning old stuff occasionally, or using the --exclude option of rsync to exclude those directories. Joshua.
