Installing on new server, but getting page not found
Hey there,
I'm sort of stuck I've moved some code over to a new webserver and copied the database over to a new database, but I keep getting 404.
My index page is getting the right CMS content, but my opt-out controllers and my other cms pages are not found.
When I try to go to /fuel it redirects me to dashboard, but also get 404.
What am I missing? I know mod_rewrite is working and enabled because the config['index_page'] = '', and goes to the right page.
this is my .htaccess
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
Order Deny,Allow
Deny From All
# Allow asset folders through
RewriteRule ^(fuel/modules/(.+)?/assets/(.+)) - [L]
# Protect application and system files from being viewed
RewriteRule ^(fuel/install/.+|fuel/crons/.+|fuel/data_backup/.+|fuel/codeigniter/.+|fuel/modules/.+|fuel/application/.+) - [F,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php/$0 [L]
# Prevents access to dot files (.git, .htaccess) - security.
RewriteCond %{SCRIPT_FILENAME} -d
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]
Options -Indexes
cheers for any help
Comments
$config['admin_enabled'] = TRUE; $config['fuel_mode'] = 'auto';
Also, you may try adding a "?" after the index.php in the .htaccess like so:
RewriteRule .* index.php?/$0 [L]
thanks. Have a good one.
http://ellislab.com/codeigniter/user-guide/installation/troubleshooting.html