ASF Bugzilla – Attachment 18630 Details for
Bug 40026
Impossibility to unset Server Header
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Make sending the Server header configurable via httpd.conf (Documentation)
servertokens_off_documentation.patch (text/plain), 2.43 KB, created by
Sebastian Nohn
on 2006-07-23 16:07:17 UTC
(
hide
)
Description:
Make sending the Server header configurable via httpd.conf (Documentation)
Filename:
MIME Type:
Creator:
Sebastian Nohn
Created:
2006-07-23 16:07:17 UTC
Size:
2.43 KB
patch
obsolete
>diff -ru docs/conf/httpd-std.conf.in docs.new/conf/httpd-std.conf.in >--- docs/conf/httpd-std.conf.in 2006-07-23 18:02:40.000000000 +0200 >+++ docs.new/conf/httpd-std.conf.in 2006-07-23 18:10:07.000000000 +0200 >@@ -520,8 +520,9 @@ > # This directive configures what you return as the Server HTTP response > # Header. The default is 'Full' which sends information about the OS-Type > # and compiled in modules. >-# Set to one of: Full | OS | Minor | Minimal | Major | Prod >-# where Full conveys the most information, and Prod the least. >+# Set to one of: Full | OS | Minor | Minimal | Major | Prod | Off >+# where Full conveys the most information, and Prod the least. Off will display >+# no information at all. > # > ServerTokens Full > >Only in docs.new/conf: httpd-std.conf.in~ >diff -ru docs/conf/httpd-win.conf docs.new/conf/httpd-win.conf >--- docs/conf/httpd-win.conf 2006-07-23 18:02:40.000000000 +0200 >+++ docs.new/conf/httpd-win.conf 2006-07-23 18:06:02.000000000 +0200 >@@ -446,8 +446,9 @@ > # This directive configures what you return as the Server HTTP response > # Header. The default is 'Full' which sends information about the OS-Type > # and compiled in modules. >-# Set to one of: Full | OS | Minor | Minimal | Major | Prod >-# where Full conveys the most information, and Prod the least. >+# Set to one of: Full | OS | Minor | Minimal | Major | Prod | Off >+# where Full conveys the most information, and Prod the least. Off will >+# display no information at all. > # > ServerTokens Full > >Only in docs.new/conf: httpd-win.conf~ >diff -ru docs/manual/mod/core.xml docs.new/manual/mod/core.xml >--- docs/manual/mod/core.xml 2006-07-23 18:03:16.000000000 +0200 >+++ docs.new/manual/mod/core.xml 2006-07-23 18:08:23.000000000 +0200 >@@ -2792,7 +2792,7 @@ > <name>ServerTokens</name> > <description>Configures the <code>Server</code> HTTP response > header</description> >-<syntax>ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full</syntax> >+<syntax>ServerTokens Major|Minor|Min[imal]|Prod[uctOnly]|OS|Full|Off</syntax> > <default>ServerTokens Full</default> > <contextlist><context>server config</context></contextlist> > >@@ -2832,6 +2832,10 @@ > > <dd>Server sends (<em>e.g.</em>): <code>Server: Apache/2.0.41 > (Unix) PHP/4.2.2 MyMod/1.2</code></dd> >+ >+ <dt><code>ServerTokens Off</code></dt> >+ >+ <dd>Server does not send a <code>Server</code> header</dd> > </dl> > > <p>This setting applies to the entire server, and cannot be >Only in docs.new/manual/mod: core.xml~
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40026
:
18626
|
18629
| 18630 |
18774
|
18775