On Sat, Dec 22, 2012 at 9:28 AM, Daniele Imbrogino
<d.imbrog...@gmail.com> 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
cove...@gmail.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to