Welcome Guest, Not a member yet? Register   Sign In
Codeignier Dreamhost with subdomain
#1

[eluser]Unknown[/eluser]
Hi!.

I have an application in CodeIgniter, and upload it to a subdomain Dreamhost throws me the following error:

Quote:An Error Was Encountered
Unable to load the requested file: sitio/inicio/index.php

I have configured my application as follows:

config.php

Code:
$config['base_url'] = 'http://sub.domain.com/';
$config['index_page'] ='';
$config['uri_protocol'] = 'AUTO';
$config['url_suffix'] ='';

routes.php

Code:
$route['default_controller'] = "sitio/inicio";

.htaccess
Code:
RewriteEngine on
RewriteBase /home/myuser/sub.domain.com/
RewriteCond $1! ^(index\.php|public/img|public/css|public/js|public/uploads|robots\.txt)
RewriteRule ^(.*)$ index.php/$1 [L]

My default controller is in a subfolder inside controllers. What is the problem? I have tried with some solutions that are in the forum but my problem persists.

Thanks.




Theme © iAndrew 2016 - Forum software by © MyBB