Ich habe diesen Link auf meiner header.php Ich habe alle richtigen Antworten hier in stackoverflow gefolgt und immer noch hat es nicht funktioniert für mich. Kann jemand bitte helfen. Vielen Dank im Voraus :)css-Datei kann in codeigniter laden?
meine Ordnerstruktur ist:
Hauptordner: ci_attl - Anwendung - CSS - style.css
<link href="<?php echo base_url();?>application/css/style.css" rel="stylesheet"> - not working
<link href="<?php echo base_url();?>/css/style.css" rel="stylesheet"> - not working
<link href="<?php echo base_url();?>../css/style.css" rel="stylesheet"> - not working
mein autoload.php
$autoload['helper'] = array('form','url', 'html');
mein .htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /ci_attl/
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
ErrorDocument 404 /index.php
</IfModule>
mein config.php
$config['base_url'] = '';
$config['index_page'] = '';
meine Konsole Fehler
Failed to load resource: the server responded with a status of 403 (Forbidden)
http://[::1]/ci_attl/application/css/style.css
jemand mir helfen pls? danke –