Welcome Guest, Not a member yet? Register   Sign In
Server problem
#1

Hi !

I have a problem with codeigniter on my server :

On WAMP, routes file is ok.
Or on server, routes doesn't run.

My instruction is : $route['default_controller'] = 'fr/index';

I think it's a server problem but I don't know where ? (I have a dedicated server at OVH)

Can you help me please. Sorry for my bad english.
Reply
#2

Please help me. It's impossible to access to website on my homepage. I must write domName.tld/fr/index to access on my homepage.

With Wamp, It's run correctly but not on my server. Why ?
Reply
#3

You codeigniter project is in the fr folder? Show me you folder structure.
Reply
#4

Maybe the issue by htaccess, It should be have
Code:
./
before
Code:
index.php/$1
Like this:
Code:
RewriteRule ^(.*)$ ./index.php/$1 [L]
Reply
#5

(08-22-2015, 10:19 PM)phplaw Wrote: Maybe the issue by htaccess, It should be have
Code:
./
before
Code:
index.php/$1
Like this:
Code:
RewriteRule ^(.*)$ ./index.php/$1 [L]

Actually, assuming this is in the root of the web app, it should be / to start an absolute path, not ./
Reply




Theme © iAndrew 2016 - Forum software by © MyBB