Use fix_apache_vars function for headers and rewrites (2 places that have apache server vars)