CodeIgniter Config / htaccess |
[eluser]Dirigible[/eluser]
Hi all, I recently got my site to work on my local server to develop on. However, when I committed the changes to my test server, several things broke. I tried to reset the test server ... breaking more things in the process. I am now in a rut, and would like any guidance at all possible. Here's my test server folder structure: /html/test/myapp/system/application. Here's my current htaccess code: RewriteEngine On RewriteCond $1 !^(index\.php||robots.txt) RewriteRule ^(.+)$ index.php?/app/$1 [L] Here's my config code: $root = "http://".$_SERVER['HTTP_HOST']; $root .= str_replace(basename($_SERVER['SCRIPT_NAME']),"",$_SERVER['SCRIPT_NAME\ ']); $config['base_url'] = $root; $config['index_page'] = ""; $config['uri_protocol'] = "AUTO"; The error I see at http://mysite.com/test/myapp is 404 page not found, but I know the config file is being 'called', as I can see echo'd output from the config file there. Any hints would be appreciated. Thanks! |
Welcome Guest, Not a member yet? Register Sign In |