CodeIgniter Forums
[SOLVED]: htaccess lingo - 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: [SOLVED]: htaccess lingo (/showthread.php?tid=28631)

Pages: 1 2


[SOLVED]: htaccess lingo - El Forum - 03-18-2010

[eluser]CroNiX[/eluser]
Is there a reason why you can't just use whatever is in index.html and put it in the view that is called from index() of your default controller?


[SOLVED]: htaccess lingo - El Forum - 03-19-2010

[eluser]Maglok[/eluser]
Yes, because the site/application is supposed to be not accessible (including error pages etc) untill they crack the puzzle. After that it'll remain in front for a while, before reverting to the application index. If there is a way to do it in CI without access to the rest without a whole lot of code, sweet.


[SOLVED]: htaccess lingo - El Forum - 03-23-2010

[eluser]Maglok[/eluser]
Got it!

Code:
RewriteRule ^$ /url.php [L]

So ^$ turned out to be the root. Sillyness! Smile Thanks for the help.