Project

General

Profile

1
RewriteEngine on
2
RewriteOptions AllowNoSlash InheritBefore
3
RewriteBase /datasources/
4

    
5
SetEnvIf Request_URI ^ innermost_dir=datasources
6

    
7
# dir without trailing / is provided as an absolute filesystem path
8
RewriteCond %{ENV:innermost_dir} =datasources
9
RewriteRule ^/() $1 [discardpath,noescape,last,redirect]
(1-1/5)