Welcome Guest, Not a member yet? Register   Sign In
Move from localhost to live server error 404
#1

I really suck in codeigniter and so I search for a solution for my problem.
I programmed a website which perfectly works on my localhost. Now I uplouded the project with filezille on a live server and get the 404 error.
Of course I changed the base url in my confiq.php:
Code:
$config['base_url'] = 'http://test.mypage.de/userid/';

But still get the error.
My .htaccess looks that way:

Code:
<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

#When your application folder isn't in the system folder
#This snippet prevents user access to the application folder
#Submitted by: Fabdrol
#Rename 'application' to your applications folder name.
RewriteCond %{REQUEST_URI} ^application.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

#Checks to
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]    

</IfModule>

<IfModule !mod_rewrite.c>
   # If we don't have mod_rewrite installed, all 404's
   # can be sent to index.php, and everything works as normal.
   # Submitted by: ElliotHaughin

ErrorDocument 404 /index.php

</IfModule>


Does somebody see my fault? I already read everthing I coud find in the web to this problem, but most things I either don´t understand or it does not help me.
I hope someone here has a hint for me. Best regards guys, a desperate programmer girl.
Reply


Messages In This Thread
Move from localhost to live server error 404 - by Winfina - 09-19-2016, 12:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB