Project

General

Profile

Todo #10157

Setup new redirect subdomain and processes

Added by Steve Beaver about 2 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Administrivia
Target version:
Start date:
01/03/2020
Due date:
% Done:

100%

Estimated time:

Description

We currently use pfsense.org to host a file "j.php" which redirects requests to the appropriate (usually help) resource. For example, clicking the "Help ->FreeBSD book" menu item links to https://www.pfsense.org/j.php?jumpto=fbsdhandbook

We need to recreate this functionality on the netgate.com domain. The cleanest and more secure way to do this seems to be to setup a new subdomain, E.g.: redirect.netgate.com which will point to a new NGINX block on www.netgate.com The redirects provided will be synced with a file maintained in GitLab providing the ability to update the redirects without touching the server.

This redirect system will also be used to redirect the new user survey.

History

#1 Updated by Jim Pingle about 2 months ago

I don't think it actually uses the php file now but nginx redirects, so we might also want to take the opportunity to make better URLs to use in the menu for redirecting in general not just changing the hostname of the server. For example, redirect.netgate.com/book, or redirect.netgate.com/go/book or along those lines.

#2 Updated by Steve Beaver about 2 months ago

Sounds good. As soon as we get the OK on the subdomain from IT I'll update the URLs

#3 Updated by Jim Pingle about 2 months ago

There is still one remaining reference after f07e6d64f0f94fe7f58fc7ada12d42bcf705dc88

src/usr/local/www/head.inc:425:        $help_menu[] = array(gettext("Bug Database"), "https://www.pfsense.org/j.php?jumpto=redmine");

#4 Updated by Jared Dillard about 2 months ago

  • Status changed from New to Feedback
  • Assignee changed from Jared Dillard to Steve Beaver

I added the redirect for "Bug Database" using the new process and replaced the redirect in the code. Everything seems to be operational.

#6 Updated by Jim Pingle about 2 months ago

  • % Done changed from 0 to 100

#7 Updated by Jim Pingle about 2 months ago

  • Status changed from Feedback to Resolved

URLs in Help menu are good now on 2.5.0 and 2.4.5.

Also available in: Atom PDF