.asc file problem
David Shaw
dshaw at jabberwocky.com
Mon Sep 29 17:32:53 CEST 2008
On Sep 24, 2008, at 3:36 PM, Some user wrote:
> I have uploaded my public key as a .asc file onto my web server.
> However,
> whenever I try to view it in the browser (Firefox, but it happens
> with every
> browser) Firefox offers the 'Open / Save' dialogue box, instead of
> displaying the raw public key.
>
> I've just moved to a new web server, and I must have done something
> wrong
> when I uploaded it or something... do you guys know of any way I
> could fix
> it?
The answer is different for different web servers, but basically you
need to tell the server that files ending in .asc are text files. In
Apache, for example, you can do something like this in your server
config or .htaccess file:
AddType text/plain .asc
See your web server instructions.
David
More information about the Gnupg-users
mailing list