rewrite_cond:
- '%%{ich-trickse}{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$'
rewrite_rule:
- - '^().*)$ - [E=BASE:%1]'
+ - '^(.*)$ - [E=BASE:%1]'
- comment: 'sfp index'
rewrite_rule:
- '^(.*)$ %{ENV:BASE}/index.php [L]'
-
+
- directory_api:
provider: directory
path: '/var/www/spar-checker/sparchecker-backend/public/api/'
rewrite_cond:
- '%%{ich-trickse}{REQUEST_URI}::$1 ^(/.+)/(.*)::\2$'
rewrite_rule:
- - '^().*)$ - [E=BASE:%1]'
+ - '^(.*)$ - [E=BASE:%1]'
- comment: 'api index'
rewrite_rule:
- '^(.*)$ %{ENV:BASE}/index.php [L]'