You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by ba...@mediageneral.com on 2003/05/20 15:29:57 UTC

[users@httpd] Question concerning apache and p3p

Greetings,
I need to append a header for p3p - in my conf file this is what I have
ReadmeName README
    HeaderName HEADER
    Header append P3P policyref=\"\http://www.mediageneral.com/w3c/p3p.xml\"\, C
P="NON DSP COR CURa TIA"

When I run the config test this is what I get
# ./apachectl configtest
Syntax error on line 738 of /opt/apache/conf/httpd.conf:
Header takes two or three arguments, an action, header and value

I thought I was giving it the action using append and I gave it a value - what
am I missing?

Thanks,
Bobbie

Bobbie Atristain
Internet Systems Administrator
Media General, INC.
804.649.6156

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Question concerning apache and p3p

Posted by Joshua Slive <jo...@slive.ca>.
On Tue, 20 May 2003 batristain@mediageneral.com wrote:

>     Header append P3P policyref=\"\http://www.mediageneral.com/w3c/p3p.xml\"\, C
> P="NON DSP COR CURa TIA"
>
> When I run the config test this is what I get
> # ./apachectl configtest
> Syntax error on line 738 of /opt/apache/conf/httpd.conf:
> Header takes two or three arguments, an action, header and value
>
> I thought I was giving it the action using append and I gave it a value - what
> am I missing?

The last argument needs to surrounded in quotes, since it includes a
space.  I'm guessing something like this:

Header append P3P "policyref=\"http://www.mediageneral.com/w3c/p3p.xml\", CP=\"NON DSP COR CURa TIA\""

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org