[eluser]carlosgoce[/eluser]
I have tried everything and i just cant do it.
This is my info:
Project: gestion
Url: localhost:8085/gestion/
Assets folder: application/assets/
/css
/js
/etc
My .htaccess file looks something like this:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt)
RewriteRule ^(.*)$ /gestion/index.php/$1 [L]
I create a constant on constants.php:
Code:
define('ASSETSPATH', APPPATH.'assets');
So then i call from the views to my css with this:
Code:
<link href="<?=ASSETSPATH?>/css/bootstrap.css" rel="stylesheet">
But it says "forbidden access" on the javascript console.
So i try to give access to assets folder with a new .htaccess on assets folder with the next content:
But it's not working. I tried a lot of things and i can't find a way to load my assets content.
Thank you for your time.