modules htaccess directory index |
[eluser]the_unforgiven[/eluser]
How can i specify what i want the directory index to be? Currently have the main url has: http://localhost/bb/static/home which is what i want it to point to when just navigating to localhost/bb/ but it looks for the index.php file but i dont want that. I have this in my htaccess at present. Code: <IfModule mod_rewrite.c>
[eluser]the_unforgiven[/eluser]
So basically when I nav to localhost/bb/ i need it show the home page which is currently localhost/bb/site/index Any idea's on this would be greatly appreciated.
[eluser]Ochetski[/eluser]
Is it another page or codeigniter one? If it's codeigniter. You can set the default route on routes.php config file to this place...
[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'; 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'; |
Welcome Guest, Not a member yet? Register Sign In |