FYI.
I have started imported some modules.
A result is available here: http://people.apache.org/~olamy/commons-content/
NOTE: RedirectMatch doesn't support relative so those redirect won't
work. (if someone have an idea I will be happy to hear :-))

The goal is to redirect
http://people.apache.org/~olamy/commons-content/collections/ to
http://people.apache.org/~olamy/commons-content/propers/commons-collections/

with commons.a.o site that will work but not here.

2013/1/11  <[email protected]>:
> Author: olamy
> Date: Thu Jan 10 23:07:32 2013
> New Revision: 1431720
>
> URL: http://svn.apache.org/viewvc?rev=1431720&view=rev
> Log:
> more components in .htaccess
>
> 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=1431720&r1=1431719&r2=1431720&view=diff
> ==============================================================================
> --- commons/cms-site/trunk/content/resources/.htaccess (original)
> +++ commons/cms-site/trunk/content/resources/.htaccess Thu Jan 10 23:07:32 
> 2013
> @@ -1,2 +1,5 @@
>  # redirect from previous path
> -RedirectMatch ^/collections/(.*)$ /propers/commons-collections/$1
> \ No newline at end of file
> +RedirectMatch ^/collections/(.*) /propers/commons-collections/$1
> +RedirectMatch ^/exec/(.*) /propers/commons-exec/$1
> +RedirectMatch ^/cli/(.*) /propers/commons-cli/$1
> +RedirectMatch ^/ognl/(.*) /propers/commons-ognl/$1
> \ No newline at end of file
>
>



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy

Reply via email to