Two applications managed by request_uri |
[eluser]Wievior[/eluser]
Hello, What I want to achieve is two applications managed by request_uri variable. One would be my main site, and the other one would be administration panel. Folders: Code: /new/system /new/index.php: Code: $adres = explode("/", $_SERVER['REQUEST_URI']); /new/.htaccess: Code: SetEnv PHP_VER 5 /new/system/application/admin/config/config.php: Code: $config['base_url'] = "http://mysite.com/new/admin/"; I type http://mysite.com/new/admin/ and get a 404 error (one from /new/system/application/admin/errors/). Thanks in advance for any help. Regards, Paul
[eluser]Dam1an[/eluser]
Why not do it all as a single aplication, and then just have an admin folder in your controllers directory? |
Welcome Guest, Not a member yet? Register Sign In |