Project

General

Profile

Actions

Todo #10157

closed

Setup new redirect subdomain and processes

Added by Anonymous almost 5 years ago. Updated almost 5 years ago.

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

100%

Estimated time:
Plus Target Version:
Release Notes:

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.

Actions #1

Updated by Jim Pingle almost 5 years 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.

Actions #2

Updated by Anonymous almost 5 years ago

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

Actions #3

Updated by Jim Pingle almost 5 years 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");
Actions #4

Updated by Jared Dillard almost 5 years ago

  • Status changed from New to Feedback
  • Assignee changed from Jared Dillard to Anonymous

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

Actions #6

Updated by Jim Pingle almost 5 years ago

  • % Done changed from 0 to 100
Actions #7

Updated by Jim Pingle almost 5 years ago

  • Status changed from Feedback to Resolved

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

Actions

Also available in: Atom PDF