Never mind.

Thanks,
Richard

On Nov 1, 9:59 am, horridohobbyist <horrido.hobb...@gmail.com> wrote:
> Thanks, but there is one other issue. The following XML references the
> file system, I believe:
>
> <META>
>   <POLICY-REFERENCES>
>     <POLICY-REF about="/w3c/privacy_policy.p3p#policy1">
>       <INCLUDE>/</INCLUDE>
>       <COOKIE-INCLUDE/>
>     </POLICY-REF>
>   </POLICY-REFERENCES>
> </META>
>
> This cannot be fixed in Apache.
>
> Richard
>
> On Oct 31, 11:13 pm, Massimo Di Pierro <massimo.dipie...@gmail.com>
> wrote:
>
>
>
>
>
>
>
> > Assuming you do not have an app called w3c.
>
> > put the file in
>
> > applications/welcome/static/p3p.xml
>
> > and add
>
> > AliasMatch ^/w3c/(.*) /home/www-data/web2py/applications/welcome/
> > static/$1
>
> > You can replace "welcome" with your own app.
>
> > On Oct 31, 9:57 am, horridohobbyist <horrido.hobb...@gmail.com> wrote:
>
> > > I'm trying to get P3P to work with web2py. Under Ubuntu and Apache,
> > > web2py is configured the standard way:
>
> > > <VirtualHost 67.213.70.251:80>
> > >   WSGIDaemonProcess web2py user=www-data group=www-data
> > >   WSGIProcessGroup web2py
> > >   WSGIScriptAlias / /home/www-data/web2py/wsgihandler.py
>
> > >   <Directory /home/www-data/web2py>
> > >     AllowOverride None
> > >     Order Allow,Deny
> > >     Deny from all
> > >     <Files wsgihandler.py>
> > >       Allow from all
> > >     </Files>
> > >   </Directory>
>
> > >   AliasMatch ^/([^/]+)/static/(.*) \
> > >            /home/www-data/web2py/applications/$1/static/$2
> > >   <Directory /home/www-data/web2py/applications/*/static/>
> > >     Options -Indexes
> > >     Order Allow,Deny
> > >     Allow from all
> > >   </Directory>
>
> > >   <Location /admin>
> > >   Deny from all
> > >   </Location>
>
> > >   <LocationMatch ^/([^/]+)/appadmin>
> > >   Deny from all
> > >   </LocationMatch>
>
> > >   CustomLog /var/log/apache2/access.log common
> > >   ErrorLog /var/log/apache2/error.log
> > > </VirtualHost>
>
> > > I'm using the P3P Validator:
>
> > >http://www.w3.org/P3P/validator.html
>
> > > It insists on looking for the policy reference file here:
>
> > >http://67.213.70.251/w3c/p3p.xml
>
> > > So I'm trying to create the /w3c directory where the P3P Validator can
> > > find it. But no matter where I put the directory, it just won't find
> > > it (eg, /home/www-data/web2py, /home/www-data/web2py/applications, /
> > > home/www-data/web2py/applications/welcome, /home/www-data/web2py/
> > > applications/welcome/static).
>
> > > So, the question is:  Where the heck is the "root" 
> > > forhttp://67.213.70.251/
> > > ???
>
> > > Thanks,
> > > Richard

Reply via email to