title: Have Apache Accept LF vs CRLF in Request Headers
body: <p>I have a legacy product that I'm trying to support on an Apache server and the server only after a recent update began rejecting request headers which only used LF for newlines and it's a tall order to rebuild it because of how old the code base is. Is there a setting somewhere that can be used or a mod_rewrite command that can be leveraged to allow request headers which use LF instead of CRLF or that will re-write LF's as CRLF's in request headers?</p>
  
  <p>Example header from app:</p>
  
  <pre><code>Host: www.ourhostname.com:80\n
  Accept-language: en\n
  user_agent: Our Old Application\n
  \n
  </code></pre>
  
  <p>If I hex edit the file to change the <code>\n</code> to <code>\r\n</code>, it works, but hex editing a file for release as an update isn't desired and I'm trying to find something server-side to get Apache to stop choking on LF's by themselves. Thanks in advance for any help on this problem!</p>