Htaccess, subdomains & subfolders ? - 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: Htaccess, subdomains & subfolders ? (/showthread.php?tid=72716) |
Htaccess, subdomains & subfolders ? - devtoo - 01-30-2019 Hi guys, Looking to implement some subfolders, where each have a Codeigniter FW. All my subdomains goes to the "principal folder" and a .htaccess redirect there to the good folder, like that : Code: Options +FollowSymLinks Example : - app1.apps.xxx.io - app2.apps.xxx.io - etc... In each "subfolder", I have another .htaccess for my codeigniter FW, but I think this implementation is not good : Code: RewriteEngine On Anyone can save me ? Thanks for your help. RE: Htaccess, subdomains & subfolders ? - ciadmin - 01-30-2019 https://www.codeigniter.com/user_guide/general/managing_apps.html might help? RE: Htaccess, subdomains & subfolders ? - devtoo - 01-30-2019 Thanks for your reply, but multi-app can't help me in this specific case. RE: Htaccess, subdomains & subfolders ? - InsiteFX - 01-31-2019 Maybe this will help you Stupid .htaccess Tricks RE: Htaccess, subdomains & subfolders ? - Ace_041 - 02-07-2019 (01-31-2019, 04:45 AM)InsiteFX Wrote: Maybe this will help you Haha, I love the name. |