![]() |
Configuring CI in a subfolder of an existing php website - 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: Configuring CI in a subfolder of an existing php website (/showthread.php?tid=12356) |
Configuring CI in a subfolder of an existing php website - El Forum - 10-16-2008 [eluser]Unknown[/eluser] Hi All, I'm a little new to all this and I have developed some kind of administration panel in CI. Now i wanted to implement this system on an existing website in a subfolder called '/admin' Is there someone who can explain me how i can configure it this way? Thanks a lot in advanced Configuring CI in a subfolder of an existing php website - El Forum - 10-16-2008 [eluser]xwero[/eluser] Just place CI in the admin directory and use .htaccess to remove the index.php and you are set to go. Configuring CI in a subfolder of an existing php website - El Forum - 10-16-2008 [eluser]Unknown[/eluser] Hi xwero, thanks for your swift reply, but i dont quite understand you. Is there also a way to do it without the htaccess file?(/admin/index.php/.../...) .. I want to have the rest of the website functional without the redirects. thanks Configuring CI in a subfolder of an existing php website - El Forum - 10-16-2008 [eluser]xwero[/eluser] yes but then you have to live with the admin/index.php/controller/method/args style of urls. But if you put the .htaccess file in the admin directory is will only affect it and it's subdirectories. |