On Sat, Dec 22, 2012 at 9:28 AM, Daniele Imbrogino <d.imbrogino@xxxxxxxxx> wrote: > Hi everybody! > > Where Apache 2.4.3 defines the HTTP response headers? > Is it possibile to edit them? (I know the 'ServerTokens' directive, but what > about the others?) They're set in various places. You can grep the source code. > > If I write a CGI program it has to start with the "Content-type" line, while > if I request a text document it has a content-type yet. > > Is it hard-coded? If it's a static file, usually mod_mime sets the content-type based on file extension. If it's dynamic, whoever generates the response usually sets the content-type. -- Eric Covener covener@xxxxxxxxx --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx