Welcome Guest, Not a member yet? Register   Sign In
Suggested .htaccess rewrite is not hiding system folder
#3

[eluser]helloworldly[/eluser]
Thanks Rick. Yes, it's preventing access to system folder now, though it couldn't find the index.php:

"The requested URL /index.php was not found on this server."

So originally it was:
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]

And you added this similar rule above other rules:
RewriteCond $1 ^system [NC]
RewriteRule ^(.*)$ /index.php?/$1 [L]

What's the difference between the two? Why would two rules be needed?

Thanks Rick!


Messages In This Thread
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 11:20 AM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 01:05 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 01:53 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 02:40 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 02:50 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 03:31 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 03:48 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 04:27 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 04:27 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 04:56 PM
Suggested .htaccess rewrite is not hiding system folder - by El Forum - 01-11-2010, 05:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB