First attempt to get multi-static work
This commit is contained in:
parent
4ba623caba
commit
8cd38d6a4a
1 changed files with 9 additions and 0 deletions
|
@ -44,3 +44,12 @@ WSGIDaemonProcess pagureproc user=pagure group=packager maximum-requests=1000 di
|
|||
</Location>
|
||||
|
||||
#</VirtualHost>
|
||||
|
||||
RewriteEngine on
|
||||
|
||||
# First try the instance-specific theme
|
||||
RewriteCond "/usr/share/pagure_dist_git/static/$1" -f
|
||||
RewriteRule "^/static/(.*)" "/usr/share/pagure_dist_git/static/$1" [L]
|
||||
|
||||
# Use the application default theme for files not customized
|
||||
RewriteRule "^/static/(.*)" "/usr/lib/python2.7/site-packages/pagure/static/$1" [L]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue