Let PhabricatorPlatformSite catch unconfigured requests


Let PhabricatorPlatformSite catch unconfigured requests

Summary: Fix T8717. If the install didn't configure base-uri, assume they want Phabricator; We'll later show the setup warning about it.

Test Plan: Set base-uri to something else, see short error. Delete it, see Phabricator.

Reviewers: laomoi, Blessed Reviewers, epriestley

Reviewed By: laomoi, Blessed Reviewers, epriestley

Subscribers: laomoi, epriestley, Korvin

Maniphest Tasks: T8717

Differential Revision: https://secure.phabricator.com/D13482

Event Timeline

I still have the same issue, despite having the version (360eb85) with this patch.

(with 'bin/config set phabricator.base-uri', the site starts to accepts FQDN, however, the error is reported if accessed by IP address. Why can't the it be accessed by IP *and* FQDN?)

Update: Nevermind. Set phabricator.production-uri does the job.