I found myself wanting to check if a given URL path exists on another host of a multi-host Symfony application from within a controller action. The router service, which is the instance of Symfony’s routing component used to route requests to actions, has a match() method, but it only accepts the path part of the URL. It also has a matchRequest() method, but that seems to ignore the HTTP_HOST and SERVER_NAME of the passed Request object.
Toby's Log page 71
Health Insurance 2018
Woof. Finally made my decision on which plan to go with through healthcare.gov. Always stressful.
Continue reading post "Health Insurance 2018"First real snow of the year.
Continue reading post "#1704"Work theft
Today was not a great day at work: I discovered that my work laptop was stolen over the weekend.
Continue reading post "Work theft"I was getting a white screen with 200 status in production after updating Symfony to 3.4.
Continue reading post "#1696"Today, I was rubbing my eyes due to itchy allergies, when I saw what looked like little light dots swirling near the bottom of my field of vision.
Continue reading post "#1693"I beat Rescue Rangers (the NES game) with my brother.
Continue reading post "#1686"Happy Thanksgiving.
Feels nice to have four days off in a row. It’s rare, and needed.