How do you insert a CP policy in the blog header?
My blog has its own domain name but it’s hosted at a subfolder on my main site. The only way i can log in using IE6 the with default security settings is to override its blocking of third-party cookies. I can’t ask my readers to do this and they can’t log in unless they figure out its a cookie problem.
begin P3P headers
<center><b>Reference Link Tag</b><br>
(This can be included within the <HEAD> </HEAD> of your pages if required)<br>
<textarea cols=80 rows=1><link rel=”P3Pv1″ href=”http://www.MACCS2SUPPORT.com/w3c/p3p.xml”></textarea>
<b>Reference HTTP Header</b><br>
<textarea cols=80 rows=1>P3P: policyref=”http://www.MACCS2SUPPORT.com/w3c/p3p.xml”</textarea>
<b>Privacy HTTP Header</b><br>
<textarea cols=80 rows=1>P3P: CP=”CURa OUR IND UNI COM STA PHY ONL NID DSP NOI COR”</textarea><br>
end P3P headers
Here is the beginning of my main page, which is the source code for http://www.maccs2support.com, which you can look at with the XTML validator:
Below is the source input I used for this validation:
1: <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
2: <html xmlns=”http://www.w3.org/1999/xhtml”>
4: <head profile=”http://gmpg.org/xfn/11″>
5: <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
9: <meta name=”generator” content=”WordPress 126.96.36.199″ /> <!– leave this for stats please –>
11: <style type=”text/css” media=”screen”>
12: @import url( http://www.davidchanin.com/blog1/wp-content/themes/classic/style.css );
15: <link rel=”alternate” type=”application/rss+xml” title=”RSS 2.0″ href=”http://www.davidchanin.com/blog1/?feed=rss2″ />
16: <link rel=”alternate” type=”text/xml” title=”RSS .92″ href=”http://www.davidchanin.com/blog1/?feed=rss” />
17: <link rel=”alternate” type=”application/atom+xml” title=”Atom 0.3″ href=”http://www.davidchanin.com/blog1/?feed=atom” />
19: <link rel=”pingback” href=”http://www.davidchanin.com/blog1/xmlrpc.php” />
20: <link rel=’archives’ title=’May 2005′ href=’http://www.davidchanin.com/blog1/?m=200505′ />
24: <div id=”rap”>
25: <h1 id=”header”>http://www.MACCS2SUPPORT.com</h1>
27: <div id=”content”>
28: <!– end header –>
30: <h2>May 24, 2005</h2>
end of source listing fragment
I’ve tried inserting the CP string into .htaccess files at /blog and also at /htdocs using all the syntaxes described below but i always get an Error 500 from that. Maybe my host does not allow this in .htaccess, because i’m allowed to have a .htaccess file at root. Web server is Apache running on Linux at 1and1.com.
- The topic ‘How do you insert a CP policy in the blog header?’ is closed to new replies.