turning on rewrite engine helps when using rewrites
This commit is contained in:
parent
1efd997013
commit
2fb93d39c4
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,7 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
|
|||
/usr/libexec/git-core/git-http-backend/$1
|
||||
|
||||
# Configure static files so that a custom theme can override the defaults
|
||||
RewriteEngine on
|
||||
|
||||
RewriteCond "{{ pagure_theme_static_dir }}/$1" -f
|
||||
RewriteRule "^/static/(.*)" "{{ pagure_theme_static_dir }}/$1" [L]
|
||||
|
@ -128,6 +129,7 @@ WSGIDaemonProcess paguredocs user=git group=git maximum-requests=1000 display-na
|
|||
SSLProtocol ALL -SSLv2
|
||||
|
||||
# Configure static files so that a custom theme can override the defaults
|
||||
RewriteEngine on
|
||||
|
||||
RewriteCond "{{ pagure_theme_static_dir }}/$1" -f
|
||||
RewriteRule "^/static/(.*)" "{{ pagure_theme_static_dir }}/$1" [L]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue