It will automatically process the header and you won't need to do anything special.
This will work after:
deny from all
allow from xxx.xxx.xxx.xxx
And all of your logs/etc will be correct.
Steven Ciaburri | Industry's Best Server Management- Rack911.com
Software Auditing - 400+ Vulnerabilities Found - Quote @ https://www.RACK911Labs.com Fully Managed Dedicated Servers (Las Vegas, New York City, & Amsterdam) (AS62710)
FreeBSD & Linux Server Management, Security Auditing, Server Optimization, PCI Compliance