Forum Moderators: phranque

Message Too Old, No Replies

P3P in subdomains,confused.Please help!

         

moroose

1:12 am on Aug 28, 2007 (gmt 0)

10+ Year Member



I aplogize if this is not the right spot to throw this question is,but tried and couldnt find any "specialized" place for my question.If this is not the right place,feel free to move it or remove it.
I have a site with a domain and a couple subdomains.
www.myexamplesite.com
subdomain1.myexamplesite.com
subdomain2.myexamplesite.com
subdomain3.myexamplesite.com

<POLICY-REF about="/w3c/policyfile.xml">

<INCLUDE>/*</INCLUDE> //Does this include site and subdomains?

<EXCLUDE>/subdomain1/*</EXCLUDE> //does this exclude subdomain1.myexamplesite.com?

Thank you very much for any help?(if it applies)

jdMorgan

1:35 am on Aug 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I believe you'll need a policy in each subdomain, eg. sub1.example.com/w3c/p3p.xml, sub2.example.com/w3c/p3p.xml, sub3.example.com/w3c/p3p.xml, etc.

Depending on your server and its configuration, you may be able to Alias or internally rewrite all of these URLs to point to the same file, if needed.

Jim

moroose

1:49 am on Aug 28, 2007 (gmt 0)

10+ Year Member



Actually,that's what I thought and started to implement.Thank you,Jim,for confirming it to me.
If you wouldnt,I have this last question:
Can I exclude a page,as we do for a direcory

<EXCLUDE>/submit.php/*</EXCLUDE>

Thank you very much for your support.

jdMorgan

2:45 am on Aug 28, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've never actually tried that, but if it is going to work, you'd need

<EXCLUDE>/submit.php</EXCLUDE>
or perhaps
<EXCLUDE>/submit.php*</EXCLUDE>
depending upon whether you're hinting at using a query string here, and whether they consider the query string to be part of a URI for their purposes -- It isn't technically, it's actually data attached to a URI.

"/submit.php/" would be a problematic URI in the HTTP schema; It might indeed work, but it would likely cause problems and/or uncertainties, as here.

If you don't get any better advice here, I'd suggest studying the W3C P3P site [w3.org].

Jim