fourteenmeister/comfyCMS/master/.htaccess - Htaccess File

fourteenmeister/comfyCMS/master/.htaccess

# Mod_Autoindex
<IfModule mod_autoindex.c>
    # Disable Indexes
    Options -Indexes
</IfModule>

# Mod_Rewrite
<IfModule mod_rewrite.c>
    Options +FollowSymlinks
    # Enable mod_rewrite
    RewriteEngine On

    # Backend redirect
    RewriteCond %{REQUEST_URI} ^/backend
    RewriteRule ^backend/(.*)$ backend/web/$1 [L]

    # RewriteCond %{REQUEST_URI} !.(gif|jpg|png|bmp)$ [NC]

    # Frontend redirect
    RewriteCond %{REQUEST_URI} ^(.*)$
    RewriteRule ^(.*)$ frontend/web/$1

</IfModule>

On Github License

Files

Download PDF of Htaccess file
REQUEST_URI

Comments

Apache