Hold on Ralph.

Ivan and I did some kind of hackathon here and this is how it works for log4php:

RewriteEngine on
RewriteCond %{REQUEST_URI} !^/log4php/log4php-2.2.1.*$
RewriteRule ^(.*)$ /log4php/log4php-2.2.1/$1

Nice thing is, we can get rid of symlinks, if we wish

On Tue, Jul 10, 2012 at 8:37 PM, Ralph Goers <[email protected]> wrote:
> I added a redirect template and a redirect page for log4j.  Unfortunately (or 
> fortunately) it didn't work because it would have overwritten the log4j 
> directory.
>
> Ralph
>
> On Jul 10, 2012, at 10:57 AM, Christian Grobmeier wrote:
>
>> Ouch.
>>
>> something like that should do the trick:
>>
>> RewriteEngine on
>> RewriteRule ^(.+)$ 2.x/$1
>>
>> I will try that now
>>
>>
>> On Tue, Jul 10, 2012 at 7:49 PM, Ivan Habunek <[email protected]> wrote:
>>> And the original links to the subprojects now return a directory listing...
>>> http://logging.apache.org/log4j/
>>> http://logging.apache.org/log4php/
>>>
>>> Nice.
>>>
>>> Ivan
>>>
>>> On 10 July 2012 19:46, Ivan Habunek <[email protected]> wrote:
>>>> Darn, I didn't know you were going ahead with this today. All the
>>>> subproject sites have changed urls.
>>>> e.g. /log4php/2.x instead of /log4php
>>>>
>>>> This will break all existing links, and mess up our search engine rank.
>>>> Does anybody know a quick fix? Somebody mentioned .htaccess.
>>>>
>>>> Regards,
>>>> Ivan
>>>>
>>>> On 10 July 2012 19:37, Scott Deboy <[email protected]> wrote:
>>>>> Looks good!
>>>>>
>>>>>
>>>>> On Tue, Jul 10, 2012 at 10:33 AM, Ralph Goers <[email protected]>
>>>>> wrote:
>>>>>>
>>>>>> http://logging.apache.org is now running on the CMS.
>>>>>
>>>>>
>>
>>
>>
>> --
>> http://www.grobmeier.de
>> https://www.timeandbill.de
>



-- 
http://www.grobmeier.de
https://www.timeandbill.de

Reply via email to