.htaccess for multiple applications? - 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: .htaccess for multiple applications? (/showthread.php?tid=38561) Pages:
1
2
|
.htaccess for multiple applications? - El Forum - 02-28-2011 [eluser]wh1tel1te[/eluser] Putting your index.php RewriteRule first overrides your admin.php RewriteRule. Put your admin.php rule first. .htaccess for multiple applications? - El Forum - 03-03-2011 [eluser]Rein Van Oyen[/eluser] Again; thanks for the replies. I have reorganised my folder structure and renamed the admin.php to index.php and placed it in a new folder called admin. I'm using this in my htaccess; Code: RewriteEngine On Everything works just fine, except that the /admin/ folder does not automatically point to the index.php in it. It show me a list of all files in it (opendir). So do the other folders I excluded from the rule. Anyone who has a clue? (Sorry for stretching this thread for so long, me + mod_rewrite = no good idea) |