Clean URL's Not clean enough

I was still getting 404 errors, so I did the following:

I made this change.

I changed AllowOverride to All.

Now instead of 404 errors, I’m getting “500 Internal Server Error”, which is an improvement. I checked the logs and have a bunch of these:

“Request exceeded the limit of 10 internal redirects due to probable configuration error. Use ‘LimitInternalRecursion’ to increase the limit if necessary. Use ‘LogLevel debug’ to get a backtrace.”

I guess the next logical step is to change the limit on internal recursion? Or is that generally a bad idea? Because 10 recurses seems like enough for most things.

I don’t know any reason why you get multiple redirections. Try commenting out all url rules. BTW you have a missing right bracket in the login rule.

/Tommy

Hello,

For those that are using WAMP with ALIAS. After some tests, it seem that there a small modification to do on the .htaccess

It should be :


RewriteRule . /[b][ALIAS NAME][/b]/index.php

instead of :


RewriteRule . index.php

I believe you will need to change that once on the webserver…­

Thanks!

This is because, you have to setup your .htaccess file like this;

RewriteEngine on

if a directory or a file exists, use it directly

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

otherwise forward it to index.php

RewriteRule . index.php

and place your .htaccess file where your index.php file is available.