codeschubser/application/master/.htaccess
# ###################################################################################################
# # #
# # APPLICATION #
# # #
# ###################################################################################################
# ===================================================================================================
# | URL Rewriting to public folder |
# ===================================================================================================
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{THE_REQUEST} /public/([^s?]*) [NC]
RewriteRule ^ %1 [L,NE,R=302]
RewriteRule ^((?!public/).*)$ public/$1 [L,NC]
</IfModule>
On Github License
Files
Download PDF of Htaccess file