Welcome Guest, Not a member yet? Register   Sign In
Beginner: Getting "index.php' to go away
#4

[eluser]agentkirb[/eluser]
[quote author="jairoh_" date="1375493485"]add an .htaccess file with this content.
Code:
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [PT,L]
the .htaccess file must be in the base folder, i mean along w/ the application, systems folders and etc. and empty the $config [ 'index_page' ] = '';


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.


Messages In This Thread
Beginner: Getting "index.php' to go away - by El Forum - 08-02-2013, 03:43 PM
Beginner: Getting "index.php' to go away - by El Forum - 08-02-2013, 06:31 PM
Beginner: Getting "index.php' to go away - by El Forum - 08-02-2013, 08:58 PM
Beginner: Getting "index.php' to go away - by El Forum - 08-02-2013, 09:22 PM



Theme © iAndrew 2016 - Forum software by © MyBB