httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nelson, Robert D." <RDNel...@Mail.Donaldson.com>
Subject RE: [users@httpd] Help, please, configuring httpd to allow downlo ads
Date Fri, 03 Dec 2004 20:06:18 GMT
Chris:

> However, it saves it with the name of the CGI. I'd really like to transfer
> thefile.tgz on the server to a file of the same name on the browser's
system.

In your CGI, add this to the HTTP headers returned:

 Content-disposition: attachment; filename=whatever.file

That has worked for me.

 ~ Robert


---------------------------------------------------------------------
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