• [^] # Re: Serveur web mal configuré

    Posté par . En réponse au message problème de téléchargement : fichier .tar.gz modifié au téléchargement [résolu]. Évalué à 2. Dernière modification le 14 décembre 2012 à 20:41.

    Dans le fichier Apache de XAMP, par défaut on a cela, si ça peut aider :

     # AddEncoding allows you to have certain browsers uncompress
     # information on the fly. Note: Not all browsers support this.
     #
     #AddEncoding x-compress .Z
     #AddEncoding x-gzip .gz .tgz
     #
     # If the AddEncoding directives above are commented-out, then you
     # probably should define those extensions to indicate media types:
     #
     AddType application/x-compress .Z
     AddType application/x-gzip .gz .tgz
    
    

    https://httpd.apache.org/docs/2.2/mod/mod_mime.html#AddEncoding

    Sinon, en solution temporaire tu compresses en (削除) rar (削除ここまで) zip :)

    « I approve of any development that makes it more difficult for governments and criminals to monopolize the use of force. » Eric Raymond