Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: RequestHeader functionality on apache 2.2 |
|
Author |
|
madRAM
Joined: 10 Apr 2006 Posts: 14
|
Posted: Mon 10 Apr '06 13:50 Post subject: RequestHeader functionality on apache 2.2 |
|
|
Hi all,
mod_header on apache 2.0 provides for the RequestHeader functionality which I use in the form of this directive:
RequestHeader set ClientProtocol HTTPS
# Set additional header for letting IE 6 SP2 accept 3rd party cookies
# in an iframe. See: http://msdn.microsoft.com/library/default.asp?url=
# /workshop/security/privacy/privacy_ovw_entry.asp for details
Header add P3P CP="NOI"
How do I do this under apache 2.2???
Kind regards,
Christian |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 10 Apr '06 14:56 Post subject: |
|
|
Do you mean mod_header or mod_headers. Mod_header is extrnal party mod.
You tried it ?
For mod_headers. look at the docu at:
http://httpd.apache.org/docs/2.2/mod/mod_headers.html
Looks like that it works the same as in 2.0.x
Steffen |
|
Back to top |
|
madRAM
Joined: 10 Apr 2006 Posts: 14
|
Posted: Mon 10 Apr '06 16:25 Post subject: |
|
|
The apache 2.2 modules page for mod_headers states that requestHeader is a directive specific for apache 2.0. So my question remains, if I can't use this directive on apache 2.2 anymore, how am I supposed to make use of this functionality?
[snip]
Description: Customization of HTTP request and response headers
Status: Extension
Module Identifier: headers_module
Source File: mod_headers.c
Compatibility: RequestHeader is available only in Apache 2.0
[/snip] |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Mon 10 Apr '06 20:13 Post subject: |
|
|
Should work, just try it.
Looks like they did not upadated the docu on this.
Steffen |
|
Back to top |
|
|
|
|
|
|