You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ol...@apache.org on 2013/01/11 00:07:32 UTC
svn commit: r1431720 - /commons/cms-site/trunk/content/resources/.htaccess
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
Re: svn commit: r1431720 - /commons/cms-site/trunk/content/resources/.htaccess
Posted by Olivier Lamy <ol...@apache.org>.
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 <ol...@apache.org>:
> 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