Multiple Apps - hide index.php |
[eluser]nell789[/eluser]
I know there are many threads on this topic, but none of them have been able to help me. My directory structure is as follows /main/ /admin/ /system/ main.php admin.php The main.php $application_folder = 'main'; The admin.php $application_folder = 'admin'; Both the /main and /admin config.php files contain the following settings: $config['uri_protocol'] = 'REQUEST_URI'; $config['base_url'] = 'http://example.com'; My .htaccess file is Code: RewriteCond $1 !^(main\.php|admin\.php|images|css|robots\.txt) This allows me to access the /main app the following ways: http://example.com/main.php/controller/fucntion http://example.com/controller/function But it only lets me access the /admin app one way: http://example.com/admin.php/controller/function What do I need to change to access the /admin app like this? http://example.com/admin/controller/function
|
Welcome Guest, Not a member yet? Register Sign In |