Files @ 5c72071b67e3
Branch filter:

Location: website/apache2/sites-available/sfconservancy.org

Bradley M. Kuhn
rt:261 — Gilden requires proprietary Javascript just to show sizes

The only thing of note actually available on the Gilden page that we
previously linked to are these two images (they have a kid's size
image, but we don't need that). So, link instead directly to the
images rather than the page itself. This is admittedly more fragile
as those image links seem to have some sort of checksum in them, but
it's worth it to avoid the proprietary Javascript.

Thanks very much to the Supporter who pointed this out waaay back on
Wed, 25 Apr 2018 14:59:37 -0400 in rt:261 in our internal ticketing
system! You know who you are. ☺
# Copyright (C) 2005-2009, Jim Garrison
# Copyright (C) 2009, 2010, Bradley M. Kuhn

# Permission to use, copy, modify, distribute and/or distributed modified
# versions of this software for any purpose with or without fee is hereby
# granted, provided that the above copyright notice and this permission
# notice appear in all copies.

# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR
# IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

NameVirtualHost 10.10.11.21:80
#NameVirtualHost 10.10.11.21:443

<VirtualHost 10.10.11.21:80>
   ServerName sfconservancy.org
        ServerAdmin root@sfconservancy.org
#        SSLCertificateFile /etc/apache2/ssl/apache.pem
        DocumentRoot /var/www/conservancy/static

        <Directory /var/www/conservancy/static>
             Options -Indexes FollowSymLinks -MultiViews
             Order allow,deny
             allow from all
             AllowOverride None
        </Directory>

        <Directory /var/www/conservancy/static/source>
             Options Indexes FollowSymLinks -MultiViews
             Order allow,deny
             allow from all
             AllowOverride None
        </Directory>

        PythonPath "['/var/www'] + sys.path"
        SetEnv DJANGO_SETTINGS_MODULE conservancy.settings
        PythonDebug Off
        PythonPostReadRequestHandler conservancy_wrapper

        PythonOutputFilter modpythoncustom DJANGOTEMPLATE
        AddOutputFilter DJANGOTEMPLATE html

        ErrorDocument 401 /401error.html
        ErrorDocument 403 /403error.html
        ErrorDocument 404 /404error.html
        ErrorDocument 500 /500error.html

        ErrorLog /var/log/apache2/sfconservancy.org_error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog /var/log/apache2/sfconservancy.org_access.log combined
        ServerSignature On

</VirtualHost>