I have many attempts on our server to include another url in an actual url in this manner:
http://www.example.nethttp://ecological ... ything.php
I want to send them to a discontinued page, rather than have my 404 error reporter send me an email each unauthorized attempt I have. I put this code together but I seem to be missing something.
RewriteCond %{HTTP_HOST} ^(www\.)?example\.net$ [NC]
RewriteCond %{HTTP_HOST}%{REQUEST_URI} http[:%] [NC]
RewriteRule ^(.*)$ http://www.example.net/discontinued.html [F,L]
I was trying to follow an example on the forum but because this isn't a query string I never quite found a match.
Thanks,
Randal