Re: [Website] download link could not redirect consistently

2016-08-18 Thread sebb
The CMS workspace has now been sorted by infra, and the link is now working.

==

The problem was that the SVN entry here:

https://svn.apache.org/repos/infra/websites/staging/commons/trunk/content/crypto

and the actual website, which is derived from the staging area above
https://svn.apache.org/repos/infra/websites/production/commons/content/crypto

was a plain file containing the contents of download_crypto.html
instead of a directory containing the file download_crypto.html.

I'm not sure how that happened, but I have noticed that CMS/svnpubsub
does not behave well when an SVN entry changes from a file to a
directory.

The source for the staging area is at

https://svn.apache.org/repos/asf/commons/cms-site/trunk/content/resources/crypto


On 18 August 2016 at 11:29, Benedikt Ritter  wrote:
> sebb  schrieb am Mi., 17. Aug. 2016 um 19:19 Uhr:
>
>> On 17 August 2016 at 17:07, sebb  wrote:
>> > On 17 August 2016 at 16:38, sebb  wrote:
>> >> On 5 August 2016 at 10:34, Sun, Dapeng  wrote:
>> >>> Hello
>> >>>
>> >>> The following link cannot redirect. Anyone know the reason about it?
>> >>> https://commons.apache.org/crypto/download_crypto.cgi
>> >>> It should redirect to
>> https://commons.apache.org/proper/commons-crypto/download_crypto.cgi
>> >>>
>> >>> Sites for other components could redirect. But some download_*cgi
>> redirect *.cgi, others redirect to *html.
>> >>>
>> >>> For example:
>> >>> https://commons.apache.org/codec/download_codec.cgi  ->
>> https://commons.apache.org/proper/commons-codec/download_codec.cgi
>> >>> https://commons.apache.org/net/download_net.cgi  ->
>> http://commons.apache.org/proper/commons-net/download_net.html
>> >>
>> >> The NET one does not work; the page must use *.cgi in order for the
>> >> HTML template file to work.
>> >>
>> >> However I cannot yet find where the redirects are being done ...
>> >
>> > It's not a redirect; it's done by an HTML refresh.
>> > The files are located under
>> >
>> https://svn.apache.org/repos/asf/commons/cms-site/trunk/content/resources.
>> > I've fixed the NET file and republished the site.
>> >
>> > However there's still something wrong with the crypto site setup
>> elsewhere.
>>
>> I think I have fixed the issue, but the CMS is now faiing as the
>> workspace needs cleanup.
>> I've e-mailed INFRA but it may take a while to fix.
>>
>
> Thank you!
>
>
>>
>> >
>> >>>
>> >>> Regards
>> >>> Dapeng
>> >>>
>>
>> -
>> 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



Re: [Website] download link could not redirect consistently

2016-08-18 Thread Benedikt Ritter
sebb  schrieb am Mi., 17. Aug. 2016 um 19:19 Uhr:

> On 17 August 2016 at 17:07, sebb  wrote:
> > On 17 August 2016 at 16:38, sebb  wrote:
> >> On 5 August 2016 at 10:34, Sun, Dapeng  wrote:
> >>> Hello
> >>>
> >>> The following link cannot redirect. Anyone know the reason about it?
> >>> https://commons.apache.org/crypto/download_crypto.cgi
> >>> It should redirect to
> https://commons.apache.org/proper/commons-crypto/download_crypto.cgi
> >>>
> >>> Sites for other components could redirect. But some download_*cgi
> redirect *.cgi, others redirect to *html.
> >>>
> >>> For example:
> >>> https://commons.apache.org/codec/download_codec.cgi  ->
> https://commons.apache.org/proper/commons-codec/download_codec.cgi
> >>> https://commons.apache.org/net/download_net.cgi  ->
> http://commons.apache.org/proper/commons-net/download_net.html
> >>
> >> The NET one does not work; the page must use *.cgi in order for the
> >> HTML template file to work.
> >>
> >> However I cannot yet find where the redirects are being done ...
> >
> > It's not a redirect; it's done by an HTML refresh.
> > The files are located under
> >
> https://svn.apache.org/repos/asf/commons/cms-site/trunk/content/resources.
> > I've fixed the NET file and republished the site.
> >
> > However there's still something wrong with the crypto site setup
> elsewhere.
>
> I think I have fixed the issue, but the CMS is now faiing as the
> workspace needs cleanup.
> I've e-mailed INFRA but it may take a while to fix.
>

Thank you!


>
> >
> >>>
> >>> Regards
> >>> Dapeng
> >>>
>
> -
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>


Re: [Website] download link could not redirect consistently

2016-08-17 Thread sebb
On 17 August 2016 at 17:07, sebb  wrote:
> On 17 August 2016 at 16:38, sebb  wrote:
>> On 5 August 2016 at 10:34, Sun, Dapeng  wrote:
>>> Hello
>>>
>>> The following link cannot redirect. Anyone know the reason about it?
>>> https://commons.apache.org/crypto/download_crypto.cgi
>>> It should redirect to 
>>> https://commons.apache.org/proper/commons-crypto/download_crypto.cgi
>>>
>>> Sites for other components could redirect. But some download_*cgi redirect 
>>> *.cgi, others redirect to *html.
>>>
>>> For example:
>>> https://commons.apache.org/codec/download_codec.cgi  -> 
>>> https://commons.apache.org/proper/commons-codec/download_codec.cgi
>>> https://commons.apache.org/net/download_net.cgi  -> 
>>> http://commons.apache.org/proper/commons-net/download_net.html
>>
>> The NET one does not work; the page must use *.cgi in order for the
>> HTML template file to work.
>>
>> However I cannot yet find where the redirects are being done ...
>
> It's not a redirect; it's done by an HTML refresh.
> The files are located under
> https://svn.apache.org/repos/asf/commons/cms-site/trunk/content/resources.
> I've fixed the NET file and republished the site.
>
> However there's still something wrong with the crypto site setup elsewhere.

I think I have fixed the issue, but the CMS is now faiing as the
workspace needs cleanup.
I've e-mailed INFRA but it may take a while to fix.

>
>>>
>>> Regards
>>> Dapeng
>>>

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



Re: [Website] download link could not redirect consistently

2016-08-17 Thread sebb
On 17 August 2016 at 16:38, sebb  wrote:
> On 5 August 2016 at 10:34, Sun, Dapeng  wrote:
>> Hello
>>
>> The following link cannot redirect. Anyone know the reason about it?
>> https://commons.apache.org/crypto/download_crypto.cgi
>> It should redirect to 
>> https://commons.apache.org/proper/commons-crypto/download_crypto.cgi
>>
>> Sites for other components could redirect. But some download_*cgi redirect 
>> *.cgi, others redirect to *html.
>>
>> For example:
>> https://commons.apache.org/codec/download_codec.cgi  -> 
>> https://commons.apache.org/proper/commons-codec/download_codec.cgi
>> https://commons.apache.org/net/download_net.cgi  -> 
>> http://commons.apache.org/proper/commons-net/download_net.html
>
> The NET one does not work; the page must use *.cgi in order for the
> HTML template file to work.
>
> However I cannot yet find where the redirects are being done ...

It's not a redirect; it's done by an HTML refresh.
The files are located under
https://svn.apache.org/repos/asf/commons/cms-site/trunk/content/resources.
I've fixed the NET file and republished the site.

However there's still something wrong with the crypto site setup elsewhere.


>>
>> Regards
>> Dapeng
>>

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



Re: [Website] download link could not redirect consistently

2016-08-17 Thread sebb
On 5 August 2016 at 10:34, Sun, Dapeng  wrote:
> Hello
>
> The following link cannot redirect. Anyone know the reason about it?
> https://commons.apache.org/crypto/download_crypto.cgi
> It should redirect to 
> https://commons.apache.org/proper/commons-crypto/download_crypto.cgi
>
> Sites for other components could redirect. But some download_*cgi redirect 
> *.cgi, others redirect to *html.
>
> For example:
> https://commons.apache.org/codec/download_codec.cgi  -> 
> https://commons.apache.org/proper/commons-codec/download_codec.cgi
> https://commons.apache.org/net/download_net.cgi  -> 
> http://commons.apache.org/proper/commons-net/download_net.html

The NET one does not work; the page must use *.cgi in order for the
HTML template file to work.

However I cannot yet find where the redirects are being done ...

>
> Regards
> Dapeng
>

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



RE: [Website] download link could not redirect consistently

2016-08-17 Thread Sun, Dapeng
Thank Benedikt for your help, and I have updated crypto/download_crypto.cgi to 
proper/commons-crypto/download_crypto.cgi as a workround.

Regards
Dapeng

-Original Message-
From: Benedikt Ritter [mailto:brit...@apache.org] 
Sent: Wednesday, August 17, 2016 3:02 AM
To: Commons Developers List
Cc: sebb AT ASF
Subject: Re: [Website] download link could not redirect consistently

Hi,

the redirects a defined in
https://svn.apache.org/repos/infra/websites/production/commons/content/.htaccess
I can't find a reason why it does not work for crypto.

Sebb do you have an idea? I think you set the redirects up initially.

Regards,
Benedikt

Sun, Dapeng <dapeng@intel.com> schrieb am Fr., 5. Aug. 2016 um
11:34 Uhr:

> Hello
>
> The following link cannot redirect. Anyone know the reason about it?
> https://commons.apache.org/crypto/download_crypto.cgi
> It should redirect to
> https://commons.apache.org/proper/commons-crypto/download_crypto.cgi
>
> Sites for other components could redirect. But some download_*cgi 
> redirect *.cgi, others redirect to *html.
>
> For example:
> https://commons.apache.org/codec/download_codec.cgi  -> 
> https://commons.apache.org/proper/commons-codec/download_codec.cgi
> https://commons.apache.org/net/download_net.cgi  ->
> http://commons.apache.org/proper/commons-net/download_net.html
>
>
> Regards
> Dapeng
>
>


Re: [Website] download link could not redirect consistently

2016-08-16 Thread Benedikt Ritter
Hi,

the redirects a defined in
https://svn.apache.org/repos/infra/websites/production/commons/content/.htaccess
I can't find a reason why it does not work for crypto.

Sebb do you have an idea? I think you set the redirects up initially.

Regards,
Benedikt

Sun, Dapeng  schrieb am Fr., 5. Aug. 2016 um
11:34 Uhr:

> Hello
>
> The following link cannot redirect. Anyone know the reason about it?
> https://commons.apache.org/crypto/download_crypto.cgi
> It should redirect to
> https://commons.apache.org/proper/commons-crypto/download_crypto.cgi
>
> Sites for other components could redirect. But some download_*cgi redirect
> *.cgi, others redirect to *html.
>
> For example:
> https://commons.apache.org/codec/download_codec.cgi  ->
> https://commons.apache.org/proper/commons-codec/download_codec.cgi
> https://commons.apache.org/net/download_net.cgi  ->
> http://commons.apache.org/proper/commons-net/download_net.html
>
>
> Regards
> Dapeng
>
>


[Website] download link could not redirect consistently

2016-08-05 Thread Sun, Dapeng
Hello

The following link cannot redirect. Anyone know the reason about it?
https://commons.apache.org/crypto/download_crypto.cgi
It should redirect to 
https://commons.apache.org/proper/commons-crypto/download_crypto.cgi

Sites for other components could redirect. But some download_*cgi redirect 
*.cgi, others redirect to *html.

For example:
https://commons.apache.org/codec/download_codec.cgi  -> 
https://commons.apache.org/proper/commons-codec/download_codec.cgi
https://commons.apache.org/net/download_net.cgi  -> 
http://commons.apache.org/proper/commons-net/download_net.html


Regards
Dapeng