Hi,
I pushed some .htaccess code to the Gitlab repo. After the code was saved & 
when I tried to read through the code, I found that a specific section of 
the code was messed up, i.e. the code was parsed & the result was shown 
instead of showing the file content as text. 

*Here is the actual code of the .htaccess file:*
<IfModule mod_gzip.c>
  mod_gzip_on Yes
  mod_gzip_dechunk Yes
  mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
  mod_gzip_item_include handler ^cgi-script$
  mod_gzip_item_include mime ^text/.*
  mod_gzip_item_include mime ^application/x-javascript.*
  mod_gzip_item_exclude mime ^image/.*
  mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>

*Here is what I see as the content of the file, after saving:*
<IfModule mod_gzip.c>
   Yes
   Yes
   file \.(html?|txt|css|js|php|pl)$
   handler ^cgi-script$
   mime ^text/.*
   mime ^application/x-javascript.*
   mime ^image/.*
   rspheader ^Content-Encoding:.*gzip.*
</IfModule>


Please do observe that more commonly, the prefix mod_gzip_on is being lost. 
Can anyone please help me with it?

-- 
You received this message because you are subscribed to the Google Groups 
"GitLab" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to gitlabhq+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/gitlabhq/ed3586e0-5933-4e7c-bcdc-b0b226417c68%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to