09-29-2009, 01:42 PM
[eluser]Brennan Novak[/eluser]
Howdi,
New to CodeIgniter, I'm loving it but just trying to work out some kinks.
I got the index.php removed but editing this line in config.php
And by adding this .htaccess file. I'm running MAMP on my Mac.
BUT I can't seem to keep my site.css file working. It tries to load the file via:
http://localhost:8888/domain.com/css/site.css
But gives me a CodeIgniter 404 page. Is there any place to add an "exception" to CI somewhere?
Howdi,
New to CodeIgniter, I'm loving it but just trying to work out some kinks.
I got the index.php removed but editing this line in config.php
Quote:$config['index_page'] = "index.php"; ===> $config['index_page'] = "";
And by adding this .htaccess file. I'm running MAMP on my Mac.
Quote:Options +FollowSymLinks
RewriteEngine On
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]
BUT I can't seem to keep my site.css file working. It tries to load the file via:
http://localhost:8888/domain.com/css/site.css
But gives me a CodeIgniter 404 page. Is there any place to add an "exception" to CI somewhere?