![]() |
404 in the server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: 404 in the server (/showthread.php?tid=52213) |
404 in the server - El Forum - 06-01-2012 [eluser]josepichu[/eluser] Hi! i'm trying to upload my CI application to the server. i haven't issues in localhost, but in the server i have a 404 server error, not PHP. I suppose the problem is something in my .htaccess file, here is it (I work in a subfolder) Code: <IfModule mod_rewrite.c> Help please! thanks. 404 in the server - El Forum - 06-01-2012 [eluser]weboap[/eluser] change this line Code: RewriteBase /guaguas/ to Code: RewriteBase / 404 in the server - El Forum - 06-01-2012 [eluser]josepichu[/eluser] [quote author="weboap" date="1338576393"]change this line Code: RewriteBase /guaguas/ to Code: RewriteBase / But I Work in a subfolder called 'guaguas', my URL's are like this: Code: www.mysite.com/guaguas/controller/method and in my config.php i have: Code: $config['base_url'] = 'http://www.mysite.com/guaguas/'; 404 in the server - El Forum - 06-02-2012 [eluser]josepichu[/eluser] Help please! 404 in the server - El Forum - 06-02-2012 [eluser]weboap[/eluser] if your ci install is located physically in /guaguas/ mean root/guaguas/index.php root/guaguas/application root/guaguas/system use Code: RewriteBase /guaguas/ if /guaguas/ is a subfolder in your controller folder like root/application/controllers/guaguas/ use Code: RewriteBase / in both caese try the following .htaccess and post back the result. Code: Options +FollowSymLinks 404 in the server - El Forum - 06-04-2012 [eluser]josepichu[/eluser] Ok! it's work's Thkns very much. |