File: example.conf

package info (click to toggle)
flask-multistatic 1.0-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 140 kB
  • sloc: python: 73; makefile: 6
file content (18 lines) | stat: -rw-r--r-- 603 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Example httpd config with two fallbacks
#
# Distributed under the CC0 license.
# You can find a copy of this license at 
# http://creativecommons.org/publicdomain/zero/1.0/
#
# To the extend possible under law, the author has
# waived all copyright and related or neighboring
# rights on this work.
#
RewriteEngine on

# First try the instance-specific theme
RewriteCond "/srv/approot/static/my_theme/$1" -f
RewriteRule "^/static/(.*)" "/srv/approot/static/my_theme/$1" [L]

# Use the application default theme for files not customized
RewriteRule "^/static/(.*)" "/srv/approot/static/default/$1" [L]