Welcome Guest, Not a member yet? Register   Sign In
modules htaccess directory index
#5

[eluser]the_unforgiven[/eluser]
This image show my structure: http://dug.im/aa326

Modules > Site > Site Controller has method index which i want to show when navigating to localhost/bb/

And in my routes i have:

Code:
$route['default_controller'] = 'site/site';
$route['404_override'] = '';
/*
| -------------------------------------------------------------------------
| CUSTOM ROUTES
| -------------------------------------------------------------------------
*/
$route['static/program_search'] = 'site/site/program_search';
$route['static/search']      = 'site/site/p_search';
$route['(:any)']            = 'site/site/index/$1'; // Pages Routes

Bu this $route['(:any)'] then won't allow access to localhost/bb/admin which is the CMS i have built. Which obviously needs to be accessibile.
via this route: $route['admin'] = 'sessions/index';


Messages In This Thread
modules htaccess directory index - by El Forum - 02-25-2013, 11:41 AM
modules htaccess directory index - by El Forum - 02-28-2013, 06:03 AM
modules htaccess directory index - by El Forum - 02-28-2013, 11:52 AM
modules htaccess directory index - by El Forum - 02-28-2013, 01:19 PM
modules htaccess directory index - by El Forum - 02-28-2013, 01:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB