Welcome Guest, Not a member yet? Register   Sign In
Having issues removing that index.php. Tried all possible solutions with no luck :(
#1

[eluser]Unknown[/eluser]
Hello Forum,

Can someone please help? I've been at this for hours with no luck and would really appreciate some help.

First off I am using MAMP Pro with SSL test env. So CI is running on https://

Here is my config URL snippet

Code:
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://example.com/
|
| If this is not set then CodeIgniter will guess the protocol, domain and
| path to your installation.
|
*/
$config['base_url'] = 'https://mysite/';

/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = '';

Here is what my .htaccess looks like.

Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|robots\.txt|css|js|fonts|img)
RewriteRule ^(.*)$ /index.php/$1 [L]


Here is what my current load test looks like.
https://mysite/ <-- Home Controller loads.
https://mysite/index.php/home <-- Home controller loads.
https://mysite/home <-- FAIL. Home page does not load.

Could someone help me with this please? I'm not sure how to proceed with this issue.

Thank you for reading.


Messages In This Thread
Having issues removing that index.php. Tried all possible solutions with no luck :( - by El Forum - 03-09-2014, 05:02 PM



Theme © iAndrew 2016 - Forum software by © MyBB