httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: [users@httpd] Apache renaming .tgz and .tar.gz files
Date Sun, 15 Feb 2004 16:40:57 GMT

On Sun, 15 Feb 2004, Neil Doody wrote:

> When I try to download any files that are named .tar.gz or .tgz on my
> server, apache is renaming them before sending the download.

>  If I try to download file.tar.gz it sends file.tar.tar, if I try to
> download file.tgz it downloads file.tar.  Anyone know why its doing
> this?  My other equally configurred and matched version server does not
> perform like this.

Apache does *not* rename files.  It is your browser that is doing the
renaming when it decodes the gzip compression.  See Apache's AddEncoding
and AddType directives to see what hints it provides to browsers, but it
is the browser that is making the final decision.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message