Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2005
    Posts
    8

    Default 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!

  2. #2
    Member
    Join Date
    Jun 2005
    Posts
    8

    Default

    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.

  3. #3
    Member
    Join Date
    Jun 2005
    Posts
    8

    Arrow

    Can anybody help with this?

    Thanks

  4. #4
    Member
    Join Date
    Sep 2004
    Posts
    11

    Default 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.

  5. #5
    Member
    Join Date
    May 2004
    Location
    new york
    Posts
    98

    Default

    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.

Similar Threads & Tags
Similar threads

  1. how can I add something in httpd.conf with ea3
    By zfrank in forum cPanel and WHM Discussions
    Replies: 9
    Last Post: 09-15-2007, 10:25 PM
  2. httpd.conf error when trying to add new account
    By dgromer in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 01-21-2006, 02:26 PM
  3. bad ip in httpd.conf, when i add multidomen
    By hostill in forum New User Questions
    Replies: 1
    Last Post: 01-05-2006, 11:55 AM
  4. whm does not add new account to httpd.conf
    By SickFinga in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 01-22-2005, 03:59 PM
  5. auto-add entry in VirtualHost of httpd.conf ?
    By pats in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 03-22-2003, 10:54 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube