Welcome Guest, Not a member yet? Register   Sign In
RewriteRule fails when index.php is in sub-directory
#2

[eluser]tarsusc81[/eluser]
Just realized that I neglected the RewriteCond that excludes /codeigniter/index.php from the rule:

Code:
RewriteCond $1 !^(codeigniter/index\.php)

(Note I don't need any of the other exceptions like 'css', 'js', etc., because the rule will only operate on requests matching "^codeigniter" anyway.)

I thought for sure this would fix it. No dice. I still get an internal server error, and now I have to remove "/$1" from the rewrite rule and "codeigniter" from the RewriteCond for the error to go away. I'm stumped.


Messages In This Thread
RewriteRule fails when index.php is in sub-directory - by El Forum - 12-09-2009, 09:42 AM
RewriteRule fails when index.php is in sub-directory - by El Forum - 12-09-2009, 10:00 AM
RewriteRule fails when index.php is in sub-directory - by El Forum - 12-09-2009, 10:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB