Merge "Add Third Party FAQ paragraph"

This commit is contained in:
Jenkins 2015-01-20 04:16:20 +00:00 committed by Gerrit Code Review
commit cf687634dd

View File

@ -329,3 +329,22 @@ chance of success if you follow these steps:
your system should be able to vote, the release group for that program your system should be able to vote, the release group for that program
or project can add you to the <project>-ci group specific to that or project can add you to the <project>-ci group specific to that
program/project. program/project.
Third Party - FAQ
-----------------
* Q: How do you serve the content of compressed logs so they are rendered within
the browser, rather than presenting a download prompt to the user?
A: Add the following lines to your web server conf file::
RewriteEngine On
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{LA-U:REQUEST_FILENAME}.gz -f
RewriteRule ^(.+)$ $1.gz [L]
<FilesMatch ".*\.gz$">
ForceType text/html
AddDefaultCharset UTF-8
AddEncoding x-gzip gz
</FilesMatch>