Htaccess File

donce96/first/master/.htaccess

REQUEST_FILENAME, REQUEST_URI
<IfModule mod_rewrite.c>
    Options +FollowSymlinks
    RewriteEngine On

    # Explicitly disable rewriting for front controllers
    RewriteRule ^app_dev.php - [L]
    RewriteRule ^app.php - [L]

    RewriteCond %{REQUEST_FILENAME} !-f

    # Fix the bundles folder
        RewriteRule ^bundles/(.*)$ /web/bundles/$1  [QSA,L]

    RewriteCond %{REQUEST_URI} .(ico|pdf|flv|jpg|jpeg|png|gif|bundles|css|swf|js)$ [NC]
    RewriteRule ^(.*)$ web/$1 [L]

        RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ web/app_dev.php/$1 [QSA,L]
</IfModule>
Exit mobile version