Page MenuHomePhabricator "homepage" yields a 500
Closed, ResolvedPublic


I was looking at top URLs for 500s and it seems yields a 500 with

Unhandled Exception ("AphrontMalformedRequestException")	

This Phabricator install is configured as "", but you are using the domain name "" to access a page which is trying to set a cookie. Access Phabricator on the configured primary domain or a configured alternate domain. Phabricator will not set cookies on other domains for security reasons.

We could probably just redirect to phabricator's homepage from / @mmodell ?

Event Timeline

Yeah a redirect would make sense.

fwiw, class phabricator::redirector has:

16     $alt_host    = ''

but "Host not found: 3(NXDOMAIN)".

fab vs. phab

@Dzahn: good catch but that's overridden:

In modules/role/manifests/phabricator/main.pp

$altdom = hiera('phabricator_altdomain', '')

I saw there's indeed a phabricator redirect map (in php), would that be the place @mmodell or some other place like apache?

Well apache would probably be a better choice but we could do it in php land for sure.

Change 355769 had a related patch set uploaded (by Filippo Giunchedi; owner: Filippo Giunchedi):
[operations/puppet@production] phabricator: redirect serveraliases homepage to phab_servername

@mmodell ok thanks! I gave it a try with for all server aliases, if that's too broad we can pass in alt_dom into ::phabricator as a standalone parameter

mmodell triaged this task as Medium priority.May 26 2017, 9:47 PM

Change 355769 merged by Filippo Giunchedi:
[operations/puppet@production] phabricator: redirect serveraliases homepage to phab_servername

mmodell assigned this task to fgiunchedi.