how ill show the CI app in subfolder? - 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: how ill show the CI app in subfolder? (/showthread.php?tid=10351) |
how ill show the CI app in subfolder? - El Forum - 07-28-2008 [eluser]Asinox[/eluser] Hi, i need to upload the CI app because i need to show the app to my customer, but i want to know how ill show the CI APP in subfolder like" http://www.domain.com/app" ? Thanks how ill show the CI app in subfolder? - El Forum - 07-28-2008 [eluser]Nathan Moore[/eluser] Simply place all the CI files in the subfolder and proceed like normal. Code Igniter does not absolutely need to be run in the web root. I hope that helps. how ill show the CI app in subfolder? - El Forum - 07-28-2008 [eluser]Asinox[/eluser] ok.. but i hav a litter problem I hav 2 domains and 1 hosting where the domain for the CI app is redirect to the another domain/subfolder the second domains is "masked" and if u write http://www.second_domain/ all is fine dont redirect to the first domain/subfolder... now the question is: in the config file how ill put the base_url?, http://www.first_domain/sub_folder/ciAPP? or http://www.second_domain/ciAPP? <- here i want the CI app i dont know if i was clear... Thanks how ill show the CI app in subfolder? - El Forum - 07-28-2008 [eluser]Asinox[/eluser] now im trying to install in http://www.domain.com/subfolder/ci/ but i got the 404 not found pages how ill show the CI app in subfolder? - El Forum - 07-28-2008 [eluser]Nathan Moore[/eluser] If you wrote some apache redirects in the .htaccess file, you could use the http://www.second_domain/ciAPP as your base_url. Essentially, you would just be redirecting and pulling content from the actual location of the CI app. how ill show the CI app in subfolder? - El Forum - 07-28-2008 [eluser]Asinox[/eluser] not, im not wrote nothing to redirect im new with CI, my hosting is a godaddy, but in the wiki i found some tips about its, i hav just this .htaccess RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php?$1 [L] Now i try to access the website from the normal domain and i got the 404 not found how ill show the CI app in subfolder? - El Forum - 07-28-2008 [eluser]Asinox[/eluser] ok now is going thanks just a follow the WIKI |