~libravatar/libravatar/master

« back to all changes in this revision

Viewing changes to config/www.apache2.conf

  • Committer: Francois Marier
  • Date: 2011-09-18 05:13:04 UTC
  • Revision ID: git-v1:bc243af5ad294a8405bb1bf6851a96c2740076bb
Add templated rules.abe files for www, cdn and seccdn (bug #769738)

Currently these rule files enforce the following constraints when sites
are authorized to provide ABE rulesets in NoScript:

- only www.libravatar.org can display images in /user/
- only the crop_photo page can display images in /uploaded/
- POST requests from other sites are forbidden
- all requests to cdn and seccdn are "anonymized"

http://noscript.net/abe/web-authors.html

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
        <Files robots.txt>
54
54
            Allow from all
55
55
        </Files>
 
56
        <Files rules.abe>
 
57
            Allow from all
 
58
        </Files>
56
59
    </Directory>
57
60
    <Directory /usr/share/libravatar/libravatar/schemas>
58
61
        Allow from all
100
103
    Alias /img /usr/share/libravatar/static/img
101
104
    Alias /favicon.ico /usr/share/libravatar/libravatar/favicon.ico
102
105
    Alias /robots.txt /usr/share/libravatar/libravatar/robots.txt
 
106
    Alias /rules.abe /usr/share/libravatar/libravatar/rules.abe
103
107
    Alias /uploaded /var/lib/libravatar/uploaded
104
108
    Alias /user /var/lib/libravatar/user
105
109
    Alias /export /var/lib/libravatar/export