Beginner: Getting "index.php' to go away |
[eluser]agentkirb[/eluser]
Edit: my bad, said it didn't work but it turns out I messed up and it DOES work. Thanks
[eluser]jairoh_[/eluser]
add an .htaccess file with this content. Code: RewriteEngine on hope this help sir
[eluser]PravinS[/eluser]
Refer: http://ellislab.com/codeigniter/user-gui.../urls.html
[eluser]agentkirb[/eluser]
[quote author="jairoh_" date="1375493485"]add an .htaccess file with this content. Code: RewriteEngine on hope this help sir[/quote] I created an .htaccess folder in the CodeIgniter folder (the one with application/system and all that). Added those rules, toggled $config['index_page'] to equal empty string (''). And now it's saying access forbidden to those websites (lhttp://localhost/CodeIgniter/averages as well as index.php/averages). So I'm wondering if I need to add a way to view the averages controller or averages view (I guess it's the view that outputs everything). I'll look at the URL guide to see if there's anything there. Edit: Wow I suck at editing, accidently updated the OP. Anyways, the problem is solved. Thanks for the help. |
Welcome Guest, Not a member yet? Register Sign In |