I hope it can help you! It is about the index.php. |
[eluser]fanxiaotao[/eluser]
I hope that i guess your mean. You want change http://localhost/index.php/CLASS/FUNCTION to http://localhost/CLASS/FUNCTION. My demo is have "phpDemo" that is not you want. You can modify the file httpd.conf like this Alias / “D:/phpDemo/Root/CodeIgniter/index.php/”. Now, your url is will change to http://localhost/CLASS/FUNCTION If you want to change url "http://localhost/" to your want first page, you can modify the file "CodeIgniter\system\application\config\routes.php" like this "$route['default_controller'] = "blog"; ". The "blog" is the name of the file "CodeIgniter\system\application\controllers\blog.php". I hope your problem had resolved. Good luck for you. |
Messages In This Thread |
I hope it can help you! It is about the index.php. - by El Forum - 10-17-2007, 09:07 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-17-2007, 09:59 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-17-2007, 11:42 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 12:43 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 03:35 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 08:15 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-18-2007, 09:26 AM
I hope it can help you! It is about the index.php. - by El Forum - 10-21-2007, 08:10 PM
I hope it can help you! It is about the index.php. - by El Forum - 10-22-2007, 01:10 AM
|