Codeigniter and htaccess mod_rewrite |
[eluser]chris1986m[/eluser]
Hi, sooo i test it and have to say that i'm to stupid for this.... Codeigniter is installed into follow root direction: www.test.com/testsystem/preview/ Application www.test.com/testsystem/preview/application CSS www.test.com/testsystem/preview/css/main.css JS www.test.com/testsystem/preview/js/main.js htaccess in root www.test.com/testsystem/preview/.htaccess index.php in root www.test.com/testsystem/preview/index.php view (my complete one page html5 design frontend) www.test.com/testsystem/preview/application/views/index.php Is it possible to put the css and js files in the application or is the root directory the best solution? Please check my configs, maybe there is a mistake... Code: $config['base_url'] = 'www.test.com/testsystem/preview/'; Code: $route['default_controller'] = 'start'; Code: $autoload['libraries'] = array('session'); Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); The language switch are only two buttons with follow href: Code: href="http://www.start.com/testsystem/preview/index.php?/indexController/languageSwitch/de" That was all. But why i have to say index.php? and not index.php. Thanks for all your help! Greets |
Messages In This Thread |
Codeigniter and htaccess mod_rewrite - by El Forum - 10-21-2012, 03:56 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 04:48 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 05:35 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 05:59 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 06:02 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 06:10 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-22-2012, 06:24 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-23-2012, 04:26 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-23-2012, 04:57 AM
Codeigniter and htaccess mod_rewrite - by El Forum - 10-23-2012, 10:52 PM
|