CodeIgniter Forums
Issues with uploading files to web server - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Issues with uploading files to web server (/showthread.php?tid=62920)



Issues with uploading files to web server - teelake - 09-08-2015

Hi guys, i currently need your help badly
have just finished developing a web app
but the issue is uploading to the web server

after the uploading
anytime i visit the website , what i see is error 404 ,page not found
whats the way out , thanks alot.


RE: Issues with uploading files to web server - RobertSF - 09-08-2015

Hi, teelake. I would try to first install Codeigniter alone on your web server. You should get the original welcome page just like when you installed it on your local host. Don't copy your .htaccess to your web server. To remove the need to use index.php in all your URLs, create a new .htaccess on your web server. I think this is all you need:

Code:
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]  

Once you have Codeigniter working on your web server, then upload the applications folder from your local Codeigniter installation to your web server, replacing the existing one. Everything that is about your application should be in that folder. If your database is created, and if you didn't hard code URLs in your application, it should work without any changes.

Let us know how it's going.


RE: Issues with uploading files to web server - teelake - 09-09-2015

thanks i will get back to you


RE: Issues with uploading files to web server - teelake - 09-09-2015

thanks a lot bro. am really grateful. u made ma day