Override mod_rewrite rules for barrel
This commit updates the apache configuration for the barrel to enforce all global mod_rewrite rules before the .htaccess' mod_rewrite rules are enabled.
This commit is contained in:
parent
859fdbd0fb
commit
f44693f1f2
1 changed files with 3 additions and 2 deletions
|
|
@ -9,8 +9,9 @@
|
|||
|
||||
# Rewrite the 'ontology' directory
|
||||
RewriteEngine On
|
||||
ReWriteRule ^(ontology/[^/]+/).+ $1 [R=303,L]
|
||||
ReWriteRule ^(ontology/[^/]+)/$ sites/default/files/$1.owl [L]
|
||||
RewriteOptions InheritDownBefore
|
||||
ReWriteRule ^(ontology/[^/]+/).+ $1 [R=303,END]
|
||||
ReWriteRule ^(ontology/[^/]+)/$ sites/default/files/$1.owl [END]
|
||||
|
||||
# Allow overrides of symlinks
|
||||
Options Indexes FollowSymLinks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue