drupal htaccess problems
China Foreign Relations site reports problem with rewrite rules in the htaccess file in the root of their drupal instance. I checked and cofirmed that the mod_rewrite engine was on and working (created a little test folder with two files and a rewrite rule that said if you get the URL of the first file, return the contents of the second file).
Then tried to figure out why the problems with the rewrites reported by the user were happening.
works: http://chinaforeignrelations.net/index.php?q=user
didn't work: http://chinaforeignrelations.net/user
the rewrite rules should have turned the first into the second. I figured out that the RewriteBase instruction was wrong, so corrected that and then both forms of the URL worked.
User then reported that URLs of the form
http://chinaforeignrelations.net/user<http://chinaforeignrelations.net/index.php?q=user>;
I have no idea where URLs of that form are coming from, but they look very dodgy to me. Most likely autogenerated from some other DRUPAL code, so I'm not dealing with that. Did hypothesize that the L switch on the RewriteRule might be invoking the rule a second time, but am not going to spend more time researching it.