Best practice to change 403 page depending which page 403?
This: How can a module detect when the &quot;access denied&quot; page is output? along with arg() is probably how I would do it. D7 doesn't have the correct hooks for this so you have to use an API in a way that it wasn't originally intended.