codeschubser/application/master/.htaccess - Htaccess File

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
THE_REQUEST

Comments

Apache