Welcome Guest, Not a member yet? Register   Sign In
Really really really need some help about index.php
#1

[eluser]Wondering Coder[/eluser]
I am currently deploying my first CI application. But now i can't login to my application due to index.php issue.
Now my hosting server doesn't let me modify their php configuration so i have to change mine.

this is my htaccess
Code:
RewriteEngine on

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*) index.php/$1 [L]
My application is running without any error in my localhost
the problem is like this:
Even after successful connection or match username and password I cant login.
It redirect me to this
Code:
http://domain/practicum/login/validate_credentials -> return me an error: Page Not Found. The requested URL /practicum/login/validate_credentials was not found on this server.
Now if I add index.php, it show the page
Code:
http://domain/practicum/index.php/login/validate_credentials


Also this is the path of my application in their server
-root
-www
-html
-mysite




Theme © iAndrew 2016 - Forum software by © MyBB