Blame example.conf

flask-multistatic
50554b2
# Example httpd config with two fallbacks
50554b2
#
50554b2
# Distributed under the CC0 license.
50554b2
# You can find a copy of this license at 
50554b2
# http://creativecommons.org/publicdomain/zero/1.0/
50554b2
#
50554b2
# To the extend possible under law, the author has
50554b2
# waived all copyright and related or neighboring
50554b2
# rights on this work.
50554b2
#
50554b2
RewriteEngine on
50554b2
50554b2
# First try the instance-specific theme
50554b2
RewriteCond "/srv/approot/static/my_theme/$1" -f
50554b2
RewriteRule "^/static/(.*)" "/srv/approot/static/my_theme/$1" [L]
50554b2
50554b2
# Use the application default theme for files not customized
50554b2
RewriteRule "^/static/(.*)" "/srv/approot/static/default/$1" [L]