.htaccess: simplifcation suggestion.

2012-12-08 Thread Rainer Jung
There was a short discussion about the use of RedirectMatch vs. Redirect
on #asfinfra today, which revealed that in many cases the former is used
where the latter would be simpler and more efficient.

One notable example is the .htaccess file of the incubator. It has
almost 100 entries of the form:

  RedirectMatch Permanent ^/TLP(/.*)?$ http://TLP.apache.org$1

which should be written instead as:

  Redirect Permanent /TLP http://TLP.apache.org

The addition of trailing path components is automatic for "Redirect". It
will also only apply to "/TLP" and "/TLP/something", but not to
"/TLPXYZ" as is wanted here.

A simplified form of the current incubator .htaccess can be found at:

  http://people.apache.org/~rjung/incubator/htaccess

the corresponding patch at:

  http://people.apache.org/~rjung/incubator/htaccess.patch

I didn't change the RedirectMatch for oozie, because that one also
matches /oozieXYZ and I can't decide whether that's actually an error or
needed behavior.

If you like it go ahead and apply it to the .htaccess in your svn tree.
Note that I changed the file name from ".htaccess" to "htaccess" in
order to make it available.

Regards,

Rainer


-
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org



Re: [VOTE] Kitty to Enter the Incubator

2010-09-17 Thread Rainer Jung

On 15.09.2010 09:20, msacks wrote:

At the advisement of the list, we have created a brand-new thread here
for voting on the kitty proposal.
The wiki page is located at: http://wiki.apache.org/incubator/KittyProposal


+1 (non-binding)

I'm interested in contributing also.

Regards,

Rainer

-
To unsubscribe, e-mail: general-unsubscr...@incubator.apache.org
For additional commands, e-mail: general-h...@incubator.apache.org