Welcome Guest, Not a member yet? Register   Sign In
Highslide with CI3
#14

It means anytime you add an external dir to your app, like the highslide example, you have to remember to go back and update the line to exclude those dirs.

If you just use
Code:
RewriteEngine On
#If CI is in a subdir activate RewriteBase below
#RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L]

That's all you need, because it does what the other line does except it works for ALL real files/dirs and not just the ones explicitly listed, so you don't need to remember to continuously update it as you add new dirs/files.
Reply


Messages In This Thread
Highslide with CI3 - by sackbut - 04-20-2015, 10:07 AM
RE: Highslide with CI3 - by Rufnex - 04-20-2015, 11:59 AM
RE: Highslide with CI3 - by sackbut - 04-21-2015, 01:18 AM
RE: Highslide with CI3 - by RogerMore - 04-21-2015, 01:49 AM
RE: Highslide with CI3 - by sackbut - 04-21-2015, 12:40 PM
RE: Highslide with CI3 - by Rufnex - 04-21-2015, 11:27 AM
RE: Highslide with CI3 - by sackbut - 04-21-2015, 12:48 PM
RE: Highslide with CI3 - by Rufnex - 04-22-2015, 01:04 PM
RE: Highslide with CI3 - by RogerMore - 04-22-2015, 04:49 AM
RE: Highslide with CI3 - by sackbut - 04-22-2015, 02:54 PM
RE: Highslide with CI3 - by Rufnex - 04-22-2015, 02:58 PM
RE: Highslide with CI3 - by CroNiX - 04-22-2015, 02:58 PM
RE: Highslide with CI3 - by RogerMore - 04-23-2015, 12:11 AM
RE: Highslide with CI3 - by CroNiX - 04-23-2015, 08:10 AM
RE: Highslide with CI3 - by sackbut - 04-23-2015, 02:22 PM
RE: Highslide with CI3 - by sackbut - 04-24-2015, 04:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB