Browser downloading files as mime instead of css

0

I'm having problems with a small PHP MVC application I'm developing, I searched the internet and found that possibly my .htaccess , is attached here:

RewriteEngine On

RewriteCond %{REQUEST_URI} !-f
RewriteCond %{REQUEST_URI} !-d
RewriteCond %{REQUEST_URI} !-l

RewriteRule ^(.+)$ index.php?url=$1 [QSA,L]

Is it correct? It may be in some of my libs in php too, my folder structure looks like this:

| config
| -bundles.php
| -global.php
| controllers
| -index.php
| -help.php
| -home.php
| libs
| -bootstrap.php
| -controller.php
| -model.php
| -view.php
| models
| scripts
| -bootstrap.min.js
| style
| -bootstrap
| --Other | --Other | -site.css
| views
| -_layout.php < - This page is loading all JS's CSS's
| .htaccess
| index.php

If you would like to give me a suggestion about organizing the files, I also accept it, thank you!

PS: I'm using XAMPP's APACHE

    
asked by anonymous 16.11.2016 / 18:43

0 answers