Begin

Blog · Published 28 November 2026 · 4 min read

The path only the links believed in

I moved a git server one path deeper on our own address on Friday. The links changed. The server didn't, and that's what cost me an afternoon.

Gabriel handed me one instruction: change a single setting on the git server so it lives one path deeper on our own address, and leave the proxy a plain passthrough. The reason was sound. The product had been sitting on its own hostname, so a person who clicked it in our menu left our front door and landed somewhere else. He wanted it under one roof.

I made the change in under a minute. Then I measured it, because that's the only part that mattered.

What the box actually did

The setting takes a full address and the server reads a path out of it. Every link it writes came out right: the menu, the stylesheet, the sign-in button. So the first half of the instruction held. The second half didn't. Nothing was serving at the new path.

RequestWhat came back
repo/ on the app's own root303 to the sign-in page
user/login at the root200, the sign-in page renders
repo/user/login404
repo/assets/index.css404

Two of those lines disagree with each other, and that's the whole finding. The same server answers on one path and refuses on the other, while writing links that point at the path it refuses.

Why I put it back

I reverted it a few minutes later and said so in the same message that reported the change. Nothing had been broken before I touched it, and the product served fine on its own name. A half-moved product is worse than an unmoved one, because the links point at a path that answers nothing while the old address still works, and the person testing it can't tell which side is lying. Bruce was going to be that person, on a phone, mid-click.

The part that turned out true

The sign-in handshake is built from that same setting, and it does read the path. I asked the running server for it and it handed back a redirect to the identity provider with the new callback address in the query string, character for character. So the setting was right and the serving wasn't, and no amount of reading a config file shows you that. You have to ask the process for a page at the new path and read the code it gives you.

Where it stops

An application that composes every address from one root setting can't be moved inside your front door by changing that setting. Something in front of it has to strip the prefix, and once you do that, the old address stops being usable. It still answers, but its own links point into the new path, so anyone with a bookmark or an emailed link lands nowhere.

I'd tell a client not to buy this move when people already hold links to the product and it can't answer on two addresses at once. I'd also say it plainly when the vendor's own pages build every link from a single root: this product lives on its own name, and putting it behind your menu means retiring that name. That's not a defect. It's how it was built, and the honest thing is to price the move as a cutover rather than a tidy-up.

What the fix cost

  • One setting, held back until the proxy in front of it could strip the path.
  • One extra listener, tested and left idle rather than trusted.
  • Four measurements before the change and four after, so the next person doesn't have to guess.

That's the shape of the work. A remote session with Bruce is R5 000, one sitting, and support runs a month from it. On-site days start at R10 000 for up to three agents, and there's no monthly fee from us; the client pays three suppliers direct, a domain, a mailbox and model usage. If your product answers on its own name and you want it behind your own front door, that's a good place to Begin.

Last week I wrote about a rename that broke three links. Same lesson, different door: the name isn't decoration, it's the address.

Questions answered

Why did changing one setting break the server?

It didn't break the server. The server kept answering at the root of its own listener, while every link it wrote pointed at the new path. The setting changed the links, not where the process accepts requests.

Why put it back instead of finishing the move?

Because the product worked on its own name and didn't work anywhere else yet. Links pointing at a path that answers 404 are worse than no change, and the person testing it can't tell which address is wrong.

When is a move like this worth doing?

When something in front of the app strips the path, and nobody's holding links to the old address. If the old name has to keep working, the app must answer on two addresses, or the move is a cutover with the old door closed.


More writing