You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Andy Seaborne <an...@apache.org> on 2012/01/01 11:49:08 UTC

htaccess for SF and OpenJena

Unless someone has a better plan in the short term, I propose dropping 
an htaccess into the root of SF and OpenJena website to redirect the 
main landing pages.

In
   http://markmail.org/thread/s7a7vfmuju6v5hqy
there was some discussion of more detailed mappings.

There are two classes of links: bookmarks to specific items and the 
general "this is jena" link.  It's the latter I'm targeting here.  I 
still see a lot of use of "http://jena.sourceforge.net/" links and it's 
these I want to redirect to the Apache site.

This will not deal with the wiki on openjena.  That can be done in the 
webserver config on that machine in much the same way.

An alternative is a blank redirect to the Apache site - style-wise. I 
find sites that do that a bit annoying but that's just me.

This isn't a one-shot action - we can change the redirections, including 
putting in the more specific redirections.

	Happy New Year
	Andy

.htaccess:
This will leave all other links alone.

------------------------
# Redirect (permanently - 301) to the Apache site

RedirectMatch 301 /$  http://incubator.apache.org/jena
RedirectMatch 301 /index.html$  http://incubator.apache.org/jena


(which get wrapped badly in email):

RedirectMatch 301

/ARQ$ ==>
   http://incubator.apache.org/jena/documentation/query/index.html
/ARQ/$  ==>
   http://incubator.apache.org/jena/documentation/query/index.html
/ARQ/index.html$  ==>
   http://incubator.apache.org/jena/documentation/query/index.html

same sort of thing for TDB and SDB.

------------------------

Re: htaccess for SF and OpenJena

Posted by Andy Seaborne <an...@apache.org>.
This should be working (as a 302 redirects for now, 301 later) on 
openjena.org.

If it works OK, I'll flip to 301, and apply to SF.

"Works for me" -- and I've added fixed redirects for the javadoc for 
Jena/ARQ/SDB/TDB as well.

Should not affect the maven repos repo/ and repo-dev/

	Andy

On 01/01/12 10:49, Andy Seaborne wrote:
> Unless someone has a better plan in the short term, I propose dropping
> an htaccess into the root of SF and OpenJena website to redirect the
> main landing pages.
>
> In
> http://markmail.org/thread/s7a7vfmuju6v5hqy
> there was some discussion of more detailed mappings.
>
> There are two classes of links: bookmarks to specific items and the
> general "this is jena" link. It's the latter I'm targeting here. I still
> see a lot of use of "http://jena.sourceforge.net/" links and it's these
> I want to redirect to the Apache site.
>
> This will not deal with the wiki on openjena. That can be done in the
> webserver config on that machine in much the same way.
>
> An alternative is a blank redirect to the Apache site - style-wise. I
> find sites that do that a bit annoying but that's just me.
>
> This isn't a one-shot action - we can change the redirections, including
> putting in the more specific redirections.
>
> Happy New Year
> Andy
>
> .htaccess:
> This will leave all other links alone.
>
> ------------------------
> # Redirect (permanently - 301) to the Apache site
>
> RedirectMatch 301 /$ http://incubator.apache.org/jena
> RedirectMatch 301 /index.html$ http://incubator.apache.org/jena
>
>
> (which get wrapped badly in email):
>
> RedirectMatch 301
>
> /ARQ$ ==>
> http://incubator.apache.org/jena/documentation/query/index.html
> /ARQ/$ ==>
> http://incubator.apache.org/jena/documentation/query/index.html
> /ARQ/index.html$ ==>
> http://incubator.apache.org/jena/documentation/query/index.html
>
> same sort of thing for TDB and SDB.
>
> ------------------------