logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: RequestHeader functionality on apache 2.2
Author
madRAM



Joined: 10 Apr 2006
Posts: 14

PostPosted: Mon 10 Apr '06 13:50    Post subject: RequestHeader functionality on apache 2.2 Reply with quote

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

PostPosted: Mon 10 Apr '06 14:56    Post subject: Reply with quote

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

PostPosted: Mon 10 Apr '06 16:25    Post subject: Reply with quote

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

PostPosted: Mon 10 Apr '06 20:13    Post subject: Reply with quote

Should work, just try it.

Looks like they did not upadated the docu on this.

Steffen
Back to top


Reply to topic   Topic: RequestHeader functionality on apache 2.2 View previous topic :: View next topic
Post new topic   Forum Index -> Apache