|
|||
|
add mod_header to httpd.conf for w3c
Hi,
I need an apache module installed and I'm not sure how to do it. I'm installing a w3c privacy policy and it requires mod_header to be installed and added to the httpd.conf. Can someone help me out with this please? Thank you very much in advance! |
|
|||
|
Hi I wanted to add that I added the following line of code to my domain entry in httpd.conf...
Header append P3P 'policyref="/w3c/p3p.xml", CP="ALL DSP COR CUR TAIo IVAo OTPo PUBo STP STA"' and here's the error I get... Invalid command 'Header', perhaps mis-spelled or defined by a module not included in the server configuration I'm assuming that I'm missing the module "mod_headers". Also, just so you know, I'm installing an affiliate program that requires this in order to track commissions properly. Thanks Any help would be appreciated.
|
|
|||
|
How do you get mod_headers.c built
Yes, same here.
Have tried rebuilding apache from whm but still mod_headers is not being built so if I try to add AddModule mod_headers.c to the httpd.conf file I get an error. Here is a workaroundthat I am using since cPanel doesn't seem to provide mod_headers. You have to be running php and if you are, it appears you can use php to set the headers. <<.htaccess file>> php_value auto_prepend_file siteprepend.php <<siteprepend.php>> <?php // Set Compact Privacy Policy header('P3P: CP="NOI DSP CURa ADMa DEVa TAIa CONi OUR DELa BUS IND PHY ONL UNI PUR COM NAV INT DEM STA PRE"'); ?> Hope it helps. |
|
|||
|
I just setup a new server and sites that are using cookies now show the privacy icon on IE.
When you click on it all are showing blocked I noticed on one affiliate ad the policy showed if you click on it. Others show no policy info. Has something changed with Apache? Same sites on another older server did not display this privacy icon or block the cookies. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|