Fuel line run question

I need to change the way my fuel line runs because of heat from my headers. I want to stay within the rules for NHRA drag racing as I hope to run my car a few times. I am working with a 66 Dart that I have added frame rail tie ins. I ran 1/2" aluminum fuel line from the rear fuel pump/tank all the way up on the inside of the frame rails but when i got to where the TTI passenger header collector ends the fuel lines are about 3" above the headers and the heat transfer when i sit has caused issues in restarting. I am also wondering about how your fuel line comes into the engine compartment as I know it is not allowed on the firewall and when mine runs up the right inner fender it again gets lots of heat from the headers.
I was wondering what others have done when running your fuel line so I am legal but it will get me away from the header heat.
Thanks Rod