I’ve got some server pinging my Rails app and is appending
“).html(bodyText);$j(”
to many of my pages. Its generating all sorts of exceptions of routes not found.
Example of page call.
http://www.domain.com/bigmikes/.html)(bodyText);$j(
I’m pretty green in terms of .htaccess and Mod_Rewrite
I’d like to either have it throw a 404 or a 301 redirect to
http://www.domain.com/bigmikes/
because there is no ? character, I suspect that its not considered a query string parameter.
The problem is that apache is now looking for a directory called
).html(bodyText);$j(To stop that from happening, you can try writing a mod_rewrite which does a regex search for that exact string, or you can try making a directory by that name containing a file with a redirect in it. I know, it sucks.
But so does the person who wrote that code and forgot to close the quotes with your URL. :/