Welcome Guest, Not a member yet? Register   Sign In
Routing not working in the Linux server
#1

[eluser]Shiju S S[/eluser]
The apps is loading in the server but the routes are not working:

Code:
$route['adminarea'] = 'admin/adminarea';
$route['adminlogin/(:any)'] = 'admin/adminlogin';
$route['adminlogout/(:any)'] = 'admin/adminlogout';

$route['confirmpassword'] = 'admin/admineditpassword';
$route['exeregister'] = 'admin/admin_exe_registration';
$route['exeformsave'] = 'admin/registration_insert_data';

$route['addfields/thaluk/(:any)'] = "addfieldsdir/addfields/thaluk/$1";

$route['addfields/adddistrict'] = 'addfieldsdir/addfields/adddistrict';
$route['addfields/addstate'] = 'addfieldsdir/addfields/addstate';
$route['addfields/addcountry'] = 'addfieldsdir/addfields/addcountry';
$route['addfields'] = 'addfieldsdir/addfields';

$route['frontpage'] = "frontpage";
$route['default_controller'] = "frontpage";
$route['404_override'] = '';

The directory structure is
root: quickbharath
application
controllers
frontpage - php controller file

admin - dir - includes controller files for admin
addfields - dir - "
view - dir - all view files

The htaccess file contains:
Code:
RewriteEngine on
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

The server is located in godaddy.com

I will be extremely grateful i someone can help me


Messages In This Thread
Routing not working in the Linux server - by El Forum - 01-29-2012, 11:33 PM
Routing not working in the Linux server - by El Forum - 01-30-2012, 12:06 AM
Routing not working in the Linux server - by El Forum - 01-30-2012, 01:58 AM
Routing not working in the Linux server - by El Forum - 01-30-2012, 02:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB