unemployment — 2012-08-03T17:16:08-04:00 — #1
I just changed servers and now two of my mod rewrite rules no longer work, but I have no idea why.
Do you have any idea why these rules wouldn't work?
RewriteRule ^u/(.*)$ /profile.php?u=$1 [QSA,L]
RewriteRule ^c/(.*)$ /company.php?c=$1 [QSA,L]
dklynn — 2012-08-03T20:46:53-04:00 — #2
Have you confirmed that mod_rewrite is enabled on the new server? AllowOverrides ALL? Have a look at my signature's tutorial for all that needs to be done on a server to enable mod_rewrite.
I'd normally ask whether you're using Apache but, since IIS is emulating mod_rewrite, that should not be a problem.