php - redirection urls does not work -
I am asking for help here I have developed the codeigniter profile with my problem redirect URL. In my path I have a local Controller, which is 'admin / user' on my local site, it works without problems on my server but nothing looks remote.
codeigniter 2.0 in my config / routes.php earlier
$ route ['default_controller'] = 'admin / user'; $ Route ['404_override'] = ''; and my controller folder structure is the controller as follows ---- & gt; Admin ------ & gt; (User.php / compagnie.php / gare.php .....)
The administrator is a folder.
And I have the following content in my .htaccess file:
RewriteEngine at rewrite% {REQUEST_FILENAME}! F rewrite% {REQUEST_FILENAME}! -D rewrite rule * The real problem is that there is no problem with my local server, but it does not display anything on my remote server. But if I change the $ routes ['default_controller'] = 'velcak' ; It works on the server and does not display anything locally a
Please help me !!!!!
You can start with:
$ route ['Default_controller'] = 'admin / user'; $ Route ['404_override'] = ''; Change to:
$ route ['default_controller'] = "admin / user"; $ Route ['404_override'] = ''; and
rewrite %% REQUEST_FILENAME}! F rewrite% {REQUEST_FILENAME}! -d Recruit Rules * Index.php / $ 1 [PT, L]
Comments
Post a Comment