Files
cappuccino/Tools/steam/htaccess
T

13 lines
452 B
Plaintext

Options +FollowSymLinks
AddEncoding x-gzip .gz
AddType text/plain .gz
RewriteEngine on
# These conditions slow down the requests significantly. We can probably assume they're always true.
# We should ensure the gzipped version always exists if we include this .htaccess. All supported browsers accept gzip encoding.
#RewriteCond %{REQUEST_FILENAME}.gz -f
#RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteRule ^(.*\.(sj|js))$ %{REQUEST_URI}/../$1.gz