Always redirect me to the home page |
Hi,
I ' ll show you myvonfiguration application > .htaccess <IfModule authz_core_module> Require all denied </IfModule> <IfModule !authz_core_module> Deny from all </IfModule> I've tried to change this htaccess in many times but it's not working for example : RewriteEngine on RewriteCond $1 !^(index\.php|resources|robots\.txt) RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L,QSA] ------------------------------------------------------------------------------------------------------------------------------------------ for the configuration - base_url = "http://xxxxxxxx.com/Projet" - index_page = 'index.php' in the route.php $route['default_controller'] = 'HomeController'; it will redirect me automatickly in the function index of the controller, when i change the view in this index,the code work successfully but when i try to enter in other controller with a link or in a url,it' s not working,it redirect me forever in the homepage that i define in the function index I think that it is a problem of htaccess but i don't know how Thanks a lot for every help |
Messages In This Thread |
Always redirect me to the home page - by mirindraulki - 09-27-2016, 03:37 AM
RE: Always redirect me to the home page - by createweb - 09-27-2016, 04:04 AM
RE: Always redirect me to the home page - by mirindraulki - 09-27-2016, 06:18 AM
RE: Always redirect me to the home page - by createweb - 09-27-2016, 06:59 AM
RE: Always redirect me to the home page - by mirindraulki - 09-29-2016, 12:00 AM
RE: Always redirect me to the home page - by InsiteFX - 09-27-2016, 04:12 AM
RE: Always redirect me to the home page - by mirindraulki - 09-27-2016, 04:32 AM
RE: Always redirect me to the home page - by InsiteFX - 09-29-2016, 03:48 AM
RE: Always redirect me to the home page - by mirindraulki - 10-03-2016, 12:11 AM
RE: Always redirect me to the home page - by InsiteFX - 10-03-2016, 06:05 PM
|