SaltySoft/SmartBlocksTutorial/master/.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/([^/]+)/(.+)$
RewriteCond %{DOCUMENT_ROOT}/Plugins/%1/Public/%2 -f
RewriteRule ^([^/]+)/(.+)$ /Plugins/$1/Public/$2 [L]
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_URI} ^/Plugins
RewriteRule (.*)? - [S=2] # Skip the below 5 lines if the above test passes
RewriteRule ^$ Public/ [L]
RewriteRule ^(.*)$ Public/$1 [L]
</IfModule>
On Github License
Files