You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Chris Hostetter <ho...@fucit.org> on 2008/01/31 23:21:20 UTC
broken links for javadocs (redirects pointed at old zone)
Hey guys ... i thought fixing this would be easy, but there's clearly
something going on here i don't understand.
looking at these URLs...
http://lucene.apache.org/java/docs/developer-resources.html
http://lucene.apache.org/java/docs/nightly/index.html
...the both contain relatively links that look like...
<a href="api/index.html">All</a>
...
<a href="api/core/index.html">Core</a>
...
<a href="api/demo/index.html">Demo</a>
...
<a href="api/contrib-highlighter/index.html">Highlighter</a>
...which when clicked resulting in URLs like...
http://lucene.apache.org/java/docs/api/contrib-highlighter/index.html
http://lucene.apache.org/java/docs/nightly/api/contrib-highlighter/index.html
...which both in turn result in 301 redirects to the exact same URL...
http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/javadoc//contrib-highlighter/index.html
...which doesn't work because of the hudson move.
I assumed these 301s were because of a .htaccess files containing rewrite
rules, and that it would be easy to fix them to point at the new hudson
instance, but aparently that's not true -- the only .htaccess files
i can find anywhere under
https://svn.apache.org/repos/asf/lucene/java/site or
https://svn.apache.org/repos/asf/lucene/java/trunk only contain
"AddDefaultCharset off"
...so what is doing those redirects and how do we fix it?
-Hoss
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: broken links for javadocs (redirects pointed at old zone)
Posted by Doug Cutting <cu...@apache.org>.
Michael Busch wrote:
> Doug Cutting wrote:
>> /www/lucene.apache.org/java/docs/api/.htaccess
>> /www/lucene.apache.org/java/docs/nightly/api/.htaccess
>
> I just changed these to files to redirect to the new location:
> http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/.
Are these in subversion? They should be.
Note that, it is often easier to maintain fewer .htaccess files higher
in the tree. These redirects could both instead be in:
http://svn.apache.org/repos/asf/lucene/java/site/docs/.htaccess
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: broken links for javadocs (redirects pointed at old zone)
Posted by Michael Busch <bu...@gmail.com>.
Doug Cutting wrote:
> /www/lucene.apache.org/java/docs/api/.htaccess
> /www/lucene.apache.org/java/docs/nightly/api/.htaccess
I just changed these to files to redirect to the new location:
http://hudson.zones.apache.org/hudson/job/Lucene-trunk/javadoc/.
Should work in an hour or two.
-Michael
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
Re: broken links for javadocs (redirects pointed at old zone)
Posted by Doug Cutting <cu...@apache.org>.
Chris Hostetter wrote:
> the only .htaccess
> files i can find anywhere under
> https://svn.apache.org/repos/asf/lucene/java/site or
> https://svn.apache.org/repos/asf/lucene/java/trunk only contain
> "AddDefaultCharset off"
There are more:
> find /www/lucene.apache.org/ -name .htaccess
/www/lucene.apache.org/java/docs/api/.htaccess
/www/lucene.apache.org/java/docs/nightly/api/.htaccess
/www/lucene.apache.org/java/docs/.htaccess
/www/lucene.apache.org/.htaccess
/www/lucene.apache.org/solr/.htaccess
Dunno which is responsible...
Doug
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org