routing |
I have use this .htaccess index:
Code: Code: RewriteEngine On to remove index.php but it's still there. http://[::1]/ci3/index.php/welcome/table to show table I still have to type the above url.
" If I looks more intelligence please increase my reputation."
(02-24-2016, 10:25 AM)davy_yg Wrote: I have use this .htaccess index:here goes to config.php find it, take a look my projects, Code: $config['base_url'] = ''; cuti is name folder my projects change as yours, hope this help Code: $config['base_url'] = 'http://localhost/cuti/';
I did all that and still remains the same.
" If I looks more intelligence please increase my reputation."
Is mod_rewrite actually enabled?
You can check your .htaccess file is working by typing this in:
Code: TYPE TEST <- If it is working you will get an error! Also if your OS is Windows it will not remove it the first time. Also your editor can cause this if not configured correctly. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
.htaccess
Code: TYPE TEST <- I already try using the new .htaccess content and have not been successful yet erasing the index.php to show content: http://localhost/ci3/index.php/welcome/input Can you help? It only shows this error: Product Input A PHP Error was encountered Severity: Notice Message: Undefined variable: attributes Filename: views/product_input.php Line Number: 13 Backtrace: File: C:\xampp\htdocs\ci3\application\views\product_input.php Line: 13 Function: _error_handler File: C:\xampp\htdocs\ci3\application\controllers\Welcome.php Line: 33 Function: view File: C:\xampp\htdocs\ci3\index.php Line: 292 Function: require_once
" If I looks more intelligence please increase my reputation."
Try removing this line from your .htaccess file, people use it but it is not required as long as you setup your html correct and it can cause problems in loading.
RewriteRule ^(system|application|cgi-bin) - [F,L] What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |