Welcome Guest, Not a member yet? Register   Sign In
URL now requires index.php after I moved my application to a public hosting ( works fine in my localhost)
#1

[eluser]Oussama M Billah[/eluser]
Hello,

In my localhost, everything works fine and I dont need to include index.php in my urls. But after I moved my application to the hosting service ( hosting with eatj), I have to put the index.php back in the url or I get a 404 not found error.

I know in my local host I m enabling mod_rewrite. but i dont know how to check in the public server (I cant access the apache configuration)
Here is my .httaccess file:

Code:
<IfModule mod_rewrite.c>
  RewriteEngine On
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
    ErrorDocument 404 index.php
</IfModule>

in my config.php file:

I tried all the different options for URI_protocol. I have PATH_INFO in my localhost.

Any idea what can be wrong?

Thanks


Messages In This Thread
URL now requires index.php after I moved my application to a public hosting ( works fine in my localhost) - by El Forum - 09-26-2009, 09:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB