Hi all,

We are now redirecting non-existing pages in netbeans.apache.org to the old website (137.254.56.26) by using a custom htaccess file [1]

For example, the following URL:

https://netbeans.apache.org/kb/previous.html

does not exist in netbeans.apache.org, so it's redirected to the legacy Oracle web server (137.254.56.26),

https://137.254.56.26/kb/previous.html

And that returns a 404, because "netbeans.org" is a virtual host in 137.254.56.26, so it needs the "Host: netbeans.org" header.

For this to work:

a) we'll need Oracle setting up the old netbeans.org content directly on the IP above.

or b) we'll need to correctly set up the "Host: netbeans.org" header in the .htaccess file (it seems this is not working now). I don't now if this is possible.

Is there anybody more experienced with the Apache web server able to provide an alternate solution?

Otherwise we'll just proceed with changing the DNS of netbeans.org to point to netbeans.apache.org, and we'll forget about the old server.

Thanks,
Antonio


[1]
We don't own control of netbeans.apache.org, so we have to use this .htaccess file:

https://github.com/apache/incubator-netbeans-website/blob/master/netbeans.apache.org/src/content/.htaccess


El 08/04/2019 a las 11:20, Geertjan Wielenga escribió:
The above sounds like a plan and I think we should simply go ahead with it.

Antonio could you update INFRA-17245 and state who should do what when (I
would do this but am about to take off into a Cloud).

Gj


On Mon, 8 Apr 2019 at 08:44, Antonio <anto...@vieiro.net> wrote:

Hi,

I think this is perfectly possible. The plan could be:

1.- In netbeans.apache.org we add a redirection (.htaccess?) so that all
404 "not found" pages are sent to the existing Oracle hosted web server,
by IP address. Much like in the bits.netbeans.org website. This may take
one day or so.

2.- ASF Infra changes the DNS settings, making netbeans.org an alias of
netbeans.apache.org. Again this could take a few days, depending on
Infra availability.

3.- We monitor the 404 pages through the next weeks/month and see which
content is still missing in netbeans.apache.org.

4.- The existing Oracle web server is shut down after one/two months and
404 pages return a not found pages.

Thoughts on the plan?

Thanks,
Antonio

P.S.: We can also make infra change the DNS settings as in 2.- above,
without the redirection. That's faster, but content that has not been
migrated will return a 404-Not Found webpage.


El 08/04/2019 a las 8:10, Geertjan Wielenga escribió:
Hi all,

We have this issue:

https://issues.apache.org/jira/browse/INFRA-17245

The intention has been throughout the Apache NetBeans process to redirect
from netbeans.org to netbeans.apache.org. Now that we're working on
graduating, maybe the time for actually doing this has come?

This point has come up today in the DISCUSS thread re becoming a top
level
Apache project, hence maybe the moment is right to actually do this now.
See:


https://lists.apache.org/thread.html/648834cdb10ce55aff2c6c8dd3c32454a74711c6289f385e456b74d8@%3Cgeneral.incubator.apache.org%3E

Thoughts? If not now when.

Gj


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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






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

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to