Welcome Guest, Not a member yet? Register   Sign In
Rackspace default controller?
#1

[eluser]jentree[/eluser]
I have created my site locally, everything is looking/functioning great.

I have uploaded my site to my host (rackspace) and all I am able to get is a 404 page.

Config file:
Code:
$config['index_page'] = '';

My routes file:
Code:
//$route['default_controller'] = "welcome";
$route['default_controller'] = "SiteController";

My .htaccess (in the site root)
Code:
RewriteEngine On

RewriteCond $1 !^(index\.php|images|captcha|public|robots\.txt|favicon\.ico)
RewriteRule ^(.*)$ /index.php/$1 [L]


If I place my own contoller code inside of the "welcome" controller, the page loads, but none of the css, images etc are available. I get a "page not found" if I try to access.

I'm not sure where to start trouble shooting...
#2

[eluser]jentree[/eluser]
** SOLVED **
Make sure everything is lower-case. "site_controller.php" not "SiteController.php"

Is that noted anywhere in the docs that I (obviously) overlooked?




Theme © iAndrew 2016 - Forum software by © MyBB