Project

General

Profile

Bug #3911

Old cgi-bin references are still being rendered by 1.8.1 registry code

Added by Shaun Walbridge over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Category:
registry
Target version:
Start date:
03/20/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3911

Description

References to http://knb.ecoinformatics.org/cgi-bin/ should be redirected to their new and permanent home at /knb/cgi-bin/. This should be easy as the following rewrite rule:

RewriteRule ^/cgi-bin/(.*) http://knb.ecoinformatics.org/knb/cgi-bin/$1 [L,R=301]

Test this on dev, and pending no unforeseen consequences deploy to KNB.

History

#1 Updated by Matt Jones over 10 years ago

This type of a redirect will simply shield the actual URI problem in the source. Can't we find these problems and fix them? If we don't, then people at other sites that install it will likely run into problems when the URLs don't work for them without the redirects.

#2 Updated by Shaun Walbridge over 10 years ago

The URLs in the pages themselves (e.g. the 'Registry' link from the NCEAS skin) will work fine, only preexisting references are affected. This has been tested and works fine on dev, the following lines were added:

RewriteEngine   On
RewriteLog "/var/log/httpd/rewrite_log"
RewriteLogLevel 5
RewriteRule ^/cgi-bin/(.*) http://dev.nceas.ucsb.edu/knb/cgi-bin/$1 [L,R=301]

Additionally, the ScriptAlias and <Directory> blocks for the old /cgi-bin/ reference were removed.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3911

#4 Updated by ben leinfelder over 6 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF