Project

General

Profile

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

    
5
SetEnvIf Request_URI ^ innermost_dir=datasources
6

    
7
# auto-add trailing / (dir without trailing / is absolute filesystem path)
8
RewriteCond %{ENV:innermost_dir} =datasources
9
RewriteRule ^/ %{REQUEST_URI}/ [discardpath,last,noescape,qsappend,redirect]
(1-1/8)