On 11 January 2013 16:22, Olivier Lamy <ol...@apache.org> wrote: > 2013/1/11 sebb <seb...@gmail.com>: >> On 11 January 2013 14:32, <ol...@apache.org> wrote: >>> Author: olamy >>> Date: Fri Jan 11 14:32:58 2013 >>> New Revision: 1432062 >>> >>> URL: http://svn.apache.org/viewvc?rev=1432062&view=rev >>> Log: >>> redirect for attributes >>> >>> Modified: >>> commons/cms-site/trunk/content/resources/.htaccess >>> >>> Modified: commons/cms-site/trunk/content/resources/.htaccess >>> URL: >>> http://svn.apache.org/viewvc/commons/cms-site/trunk/content/resources/.htaccess?rev=1432062&r1=1432061&r2=1432062&view=diff >>> ============================================================================== >>> --- commons/cms-site/trunk/content/resources/.htaccess (original) >>> +++ commons/cms-site/trunk/content/resources/.htaccess Fri Jan 11 14:32:58 >>> 2013 >>> @@ -5,6 +5,7 @@ RedirectMatch ^(.*)/exec/(.*) $1/propers >>> RedirectMatch ^(.*)/cli/(.*) $1/propers/commons-cli/$2 >>> RedirectMatch ^(.*)/ognl/(.*) $1/propers/commons-ognl/$2 >>> RedirectMatch ^(.*)/digester/(.*) $1/propers/commons-digester/$2 >>> +RedirectMatch ^(.*)/attributes/(.*) $1/propers/commons-attributes/$2 >> >> Could these use Redirect instead? > Sure for live target will work but not for testing here > http://people.apache.org/~olamy/commons-content/ >> >> Also, why does the path include "propers" rather than "proper" as used >> elsewere in commons SVN? > > Ah yes could be better. > As I used dormant-sites and sandbox-sites maybe proper-sites WDYT ?
What is the point of having both? dormant/ dormant-sites/ The existing c.a.o website uses just dormant/ There is currently no proper/ directory, as the proper component sites are at the top-level. Not sure why that cannot be maintained going forward, but if not, the minimum change would be to add a proper/ subdirectory parallel to dormant/ and sandbox/ Not having a parent proper/ directory does place some minor restrictions on component names - e.g. one could not have a proper component called "sandbox" or "css" or "images" for example - but that is not a huge restriction, and it would avoid needing to use the Redirect entries. Having said that, having a parent proper/ directory makes sense from the point of view of consistency across the 3 classes of components, so it's not critical to avoid it. But I do think having separate -sites folders is unnecessary complication. Whatever is finally decided upon needs to be properly documented. >> >> >>> #sandbox >>> RedirectMatch ^(.*)/sandbox/cli2/(.*) $1/sandbox-sites/commons-cli2/$2 >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org >> For additional commands, e-mail: dev-h...@commons.apache.org >> > > > > -- > Olivier Lamy > Talend: http://coders.talend.com > http://twitter.com/olamy | http://linkedin.com/in/olamy > > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org > For additional commands, e-mail: dev-h...@commons.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org