title: why apache downloads text file instead of displaying on browser
body: <p>apache downloads text file instead of displaying on browser. This happens only if the owner of the file is not the apache user. </p>
  
  <p>I'm trying to open the alis /log in apache:</p>
  
  <pre><code>Alias /log "/home/log/"
  &lt;Directory /home/log/&gt;
          Options Indexes FollowSymLinks MultiViews
          Order allow,deny
          Allow from all  
          AllowOverride None
  &lt;/Directory&gt;
  </code></pre>
  
  <p>It could be worth mentioning that file extensions are .log example: filename.log</p>