#1 (permalink)  
Old 06-30-2005, 04:54 PM
Registered User
 
Join Date: Jun 2005
Posts: 8
joecool1001 is on a distinguished road
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 07-01-2005, 01:16 AM
Registered User
 
Join Date: Jun 2005
Posts: 8
joecool1001 is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 07-02-2005, 12:26 PM
Registered User
 
Join Date: Jun 2005
Posts: 8
joecool1001 is on a distinguished road
Arrow

Can anybody help with this?

Thanks
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 07-13-2005, 03:17 AM
Registered User
 
Join Date: Sep 2004
Posts: 11
MatrixPark is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 12-18-2005, 08:42 PM
Registered User
 
Join Date: May 2004
Location: new york
Posts: 81
vincentg is on a distinguished road
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 10:47 PM.


Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
© cPanel Inc