Can anybody shed light on this?

On Fri, May 15, 2009 at 11:44 AM, Paras Fadte <plf...@gmail.com> wrote:
> So following would show the privacy report using the file
> /w3c/a/p3p.xml file  for a.com and  /w3c/b/p3p.xml  for b.com ?
>
> <VirtualHost *:80>
>   ServerName a.com
>   CustomLog "|/home/apache/bin/rotatelogs
> /home/apache/logs/access_log.a.com 300"
>   ErrorLog /home/apache/logs/error_log.a.com
>
>   <Location />
>    Header set P3P "CP=\"NOI DSP COR CURa ADMa DEVa IVAo OUR BUS UNI
> COM NAV OTC\", policyref=\"/w3c/a/p3p.xml\""
>   </Location>
>
> </VirtualHost>
>
>
>
> <VirtualHost *:80>
>   ServerName b.com
>   CustomLog "|/home/apache/bin/rotatelogs
> /home/apache/logs/access_log.b.com 300"
>   ErrorLog /home/apache/logs/error_log.b.com
>
>   <Location />
>    Header set P3P "CP=\"NOI DSP COR CURa ADMa DEVa IVAo OUR BUS UNI
> COM NAV OTC\", policyref=\"/w3c/b/p3p.xml\""
>   </Location>
>
> </VirtualHost>
>
> Thank you.
>
> -Paras
>
>
> On Thu, May 14, 2009 at 7:05 PM, Tom Evans <tevans...@googlemail.com> wrote:
>> On Thu, 2009-05-14 at 16:58 +0530, Paras Fadte wrote:
>>> Hi,
>>>
>>> Is it possible to set different P3P policy for each of the virtual
>>> hosts defined in Apache ?
>>>
>>> Thank you.
>>>
>>> -Paras
>>>
>>
>> Yes.
>>
>> P3P is set either by including the info in an abbreviated form in a
>> header, or by including a header indicating where the policy file is
>> located, or by accessing the policy file in the ''well known location''
>> '/w3c/p3p.xml'.
>>
>> You can control headers using mod_headers, and you can control what
>> content is available in what locations in a variety of means, so there
>> are a variety of choices.
>>
>>
>> Tom
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
>>   "   from the digest: users-digest-unsubscr...@httpd.apache.org
>> For additional commands, e-mail: users-h...@httpd.apache.org
>>
>>
>

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to